From 90b9b9d7552ff8e3a92ecc46faafe4e3fbf40689 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 27 Jul 2021 12:37:40 +0300 Subject: [PATCH] v doc: small clean of `Return to contents` markdown link --- cmd/tools/vdoc/markdown.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/tools/vdoc/markdown.v b/cmd/tools/vdoc/markdown.v index 0684cc6105..cc24ad2bfa 100644 --- a/cmd/tools/vdoc/markdown.v +++ b/cmd/tools/vdoc/markdown.v @@ -47,7 +47,8 @@ fn (vd VDoc) write_markdown_content(contents []doc.DocNode, mut cw strings.Build } cw.writeln('```\n') } - cw.writeln('[\[Return to contents\]](#Contents)\n') + cw.writeln(r'[[Return to contents]](#Contents)') + cw.writeln('') } vd.write_markdown_content(cn.children, mut cw, mut hw, indent + 1, with_toc) }