Skip to content

Commit 3cce56a

Browse files
jayschwaandrewrk
authored andcommitted
docs: Use section symbol §, not paragraph symbol ¶
A header may cover more than one paragraph, so a section symbol is more appropriate. https://en.wikipedia.org/wiki/Section_sign
1 parent c24a49a commit 3cce56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/docgen.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
966966
},
967967
Node.HeaderOpen => |info| {
968968
try out.print(
969-
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a><a class=\"hdr\" href=\"#{}\"></a></h{}>\n",
969+
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a><a class=\"hdr\" href=\"#{}\">§</a></h{}>\n",
970970
info.n,
971971
info.url,
972972
info.url,

0 commit comments

Comments
 (0)