From dc9772091e3b29afac62d4eb7fa09bfe7da270dd Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 26 Jul 2024 14:08:51 -0500 Subject: [PATCH] docs: Correct markdown formatting --- src/fmt/mod.rs | 4 +++- src/lib.rs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fmt/mod.rs b/src/fmt/mod.rs index cde7808..0854e51 100644 --- a/src/fmt/mod.rs +++ b/src/fmt/mod.rs @@ -11,11 +11,13 @@ //! method. //! //! Terminal styling is done through ANSI escape codes and will be adapted to the capabilities of -//! the target stream. +//! the target stream.s +//! //! For example, you could use one of: //! - [anstyle](https://docs.rs/anstyle) is a minimal, runtime string styling API and is re-exported as [`style`] //! - [owo-colors](https://docs.rs/owo-colors) is a feature rich runtime string styling API //! - [color-print](https://docs.rs/color-print) for feature-rich compile-time styling API +//! //! See also [`Formatter::default_level_style`] //! //! ``` diff --git a/src/lib.rs b/src/lib.rs index b8905e7..e0afd1c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -201,9 +201,9 @@ //! environment variable. It accepts the following values: //! //! * `auto` (default) will attempt to print style characters, but don't force the issue. -//! If the console isn't available on Windows, or if TERM=dumb, for example, then don't print colors. +//! If the console isn't available on Windows, or if TERM=dumb, for example, then don't print colors. //! * `always` will always print style characters even if they aren't supported by the terminal. -//! This includes emitting ANSI colors on Windows if the console API is unavailable. +//! This includes emitting ANSI colors on Windows if the console API is unavailable. //! * `never` will never print style characters. //! //! ## Tweaking the default format