aboutsummaryrefslogtreecommitdiff
path: root/doc/langref.html.in
diff options
context:
space:
mode:
Diffstat (limited to 'doc/langref.html.in')
-rw-r--r--doc/langref.html.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in
index 04755d00ec..7a3c96595c 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -300,6 +300,40 @@
color: #fff;
}
}
+
+ @media all {
+ main {
+ counter-reset: section-2;
+ }
+ h2 {
+ counter-reset: section-3;
+ }
+ h2::before {
+ counter-increment: section-2;
+ content: counter(section-2) ". ";
+ font-weight: normal;
+ }
+ h3 {
+ counter-reset: section-4;
+ }
+ h3::before {
+ counter-increment: section-3;
+ content: counter(section-2) "." counter(section-3) ". ";
+ font-weight: normal;
+ }
+ h4::before {
+ counter-increment: section-4;
+ content: counter(section-2) "." counter(section-3) "." counter(section-4) ". ";
+ font-weight: normal;
+ }
+ #zig-version::before {
+ content: "";
+ }
+ #table-of-contents::before {
+ content: "";
+ }
+ }
+ }
</style>
</head>
<body>