mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
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
This commit is contained in:
parent
c24a49a1a7
commit
3cce56af99
@ -966,7 +966,7 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
|
|||||||
},
|
},
|
||||||
Node.HeaderOpen => |info| {
|
Node.HeaderOpen => |info| {
|
||||||
try out.print(
|
try out.print(
|
||||||
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a><a class=\"hdr\" href=\"#{}\">¶</a></h{}>\n",
|
"<h{} id=\"{}\"><a href=\"#toc-{}\">{}</a><a class=\"hdr\" href=\"#{}\">§</a></h{}>\n",
|
||||||
info.n,
|
info.n,
|
||||||
info.url,
|
info.url,
|
||||||
info.url,
|
info.url,
|
||||||
|
Loading…
Reference in New Issue
Block a user