From c01ed23b5a1cbcc78a486019a790e959304f25e7 Mon Sep 17 00:00:00 2001 From: Willem Wyndham Date: Mon, 2 Dec 2024 12:10:51 -0500 Subject: [PATCH] fix: final fixes --- src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 96afeaa..db84397 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +#![allow(clippy::only_used_in_recursion)] //! Autogenerate Markdown documentation for clap command-line tools //! //! See [**Examples**][Examples] for examples of the content `clap-markdown` @@ -311,9 +312,7 @@ fn build_command_markdown( writeln!( buffer, - "{} `{}`\n", - // "#".repeat(depth + 1), - "##", + "## `{}`\n", command_path.join(" "), )?;