1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vdoc: fix code formatting

This commit is contained in:
Daniel Däschle
2020-06-08 13:11:55 +02:00
committed by GitHub
parent dabfc4ebd0
commit 344e9b440a
2 changed files with 6 additions and 8 deletions

View File

@@ -272,7 +272,7 @@ fn doc_node_html(dd doc.DocNode, link string, head bool, tb &table.Table) string
if head {
dnw.write(md_content)
} else {
dnw.writeln('<pre class="signature language-v"><code class="language-v">$hlighted_code</code></pre>')
dnw.writeln('<pre class="signature"><code>$hlighted_code</code></pre>')
dnw.writeln(md_content)
}
dnw.writeln('</section>')