From 45a52e208c932faae0b0755052d0bca997ad27d0 Mon Sep 17 00:00:00 2001 From: Allen Sun Date: Mon, 4 Dec 2017 03:21:50 -0600 Subject: [PATCH] doc: Remove one additional blank line after Synopsis (#591) Signed-off-by: Allen Sun --- doc/md_docs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/md_docs.go b/doc/md_docs.go index 68cf5bf..b437d81 100644 --- a/doc/md_docs.go +++ b/doc/md_docs.go @@ -67,7 +67,7 @@ func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) buf.WriteString("## " + name + "\n\n") buf.WriteString(short + "\n\n") buf.WriteString("### Synopsis\n\n") - buf.WriteString("\n" + long + "\n\n") + buf.WriteString(long + "\n\n") if cmd.Runnable() { buf.WriteString(fmt.Sprintf("```\n%s\n```\n\n", cmd.UseLine()))