mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
vdoc: fix code formatting
This commit is contained in:
parent
dabfc4ebd0
commit
344e9b440a
2 changed files with 6 additions and 8 deletions
|
@ -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>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue