aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2022-12-09 17:14:18 +0100
committerVeikka Tuominen <git@vexu.eu>2022-12-19 21:51:23 +0200
commit3542dbf0ea5bc1ddb1c5e1c856745dc07e6c0a18 (patch)
treea134956f4302054a14131d0d90e4eb3d0241e21a /lib/std
parent3db8cffa3b383011471f425983a7e98ad8a46aa5 (diff)
downloadzig-3542dbf0ea5bc1ddb1c5e1c856745dc07e6c0a18.tar.gz
zig-3542dbf0ea5bc1ddb1c5e1c856745dc07e6c0a18.zip
langref: add section numbers
When reading a document with nested sections, it is not easy to discover the depth of the current section. Add support for nested section numbers, from the h2 to the h4 heading, in the format "lv1. ", "lv1.lv2. ", "lv1.lv2.lv3. ". The "Zig Version" and "Table of Content" sections are excluded. The section numbers are implemented in CSS, with the CSS rules declared inside a @media rule. Currently the @media rule targets all media.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions