Skip to content

Commit dc97720

Browse files
committed
docs: Correct markdown formatting
1 parent 71ff566 commit dc97720

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/fmt/mod.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
//! method.
1212
//!
1313
//! Terminal styling is done through ANSI escape codes and will be adapted to the capabilities of
14-
//! the target stream.
14+
//! the target stream.s
15+
//!
1516
//! For example, you could use one of:
1617
//! - [anstyle](https://docs.rs/anstyle) is a minimal, runtime string styling API and is re-exported as [`style`]
1718
//! - [owo-colors](https://docs.rs/owo-colors) is a feature rich runtime string styling API
1819
//! - [color-print](https://docs.rs/color-print) for feature-rich compile-time styling API
20+
//!
1921
//! See also [`Formatter::default_level_style`]
2022
//!
2123
//! ```

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@
201201
//! environment variable. It accepts the following values:
202202
//!
203203
//! * `auto` (default) will attempt to print style characters, but don't force the issue.
204-
//! If the console isn't available on Windows, or if TERM=dumb, for example, then don't print colors.
204+
//! If the console isn't available on Windows, or if TERM=dumb, for example, then don't print colors.
205205
//! * `always` will always print style characters even if they aren't supported by the terminal.
206-
//! This includes emitting ANSI colors on Windows if the console API is unavailable.
206+
//! This includes emitting ANSI colors on Windows if the console API is unavailable.
207207
//! * `never` will never print style characters.
208208
//!
209209
//! ## Tweaking the default format

0 commit comments

Comments
 (0)