]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
not sure this is necessary
authoranarcat <anarcat@web>
Fri, 6 Sep 2019 14:16:05 +0000 (10:16 -0400)
committeradmin <admin@branchable.com>
Fri, 6 Sep 2019 14:16:05 +0000 (10:16 -0400)
doc/todo/section-numbering.mdwn

index 41803e3a29f285f22454c14b211bdcd594724115..86a86de5b6f8273106454b064bf6040c563d6be7 100644 (file)
@@ -7,3 +7,5 @@ I guess it is implementable with complex CSS... but one has first to compose thi
 And another aspect why this is related to ikiwiki, not just authoring a CSS, is that the style of the numbers (genereated by CSS probably) should match the style of the numbers in ikiwiki's [[plugins/toc]]. --Ivan Z.
 
 <https://codepen.io/X-Raym/pen/dBprG> - a known CSS technique.  works well.  adapted here due to that numbering starting from h2, where ikiwiki (incorrectly) starts headings from h1 <http://libre-riscv.org/local.css> --lkcl
+
+> Related: [[todo/toc-with-human-readable-anchors]]. That said, I'm not sure this is something that ikiwiki should handle at all. As you said, this can be generated by CSS... Maybe an option for the `toc` plugin would be necessary to *change* the style of the numbering, but I doubt it's worth the effort... In other words, there is already some numbering in the table of contents, the CSS should just match it... unless I'm missing something? -- [[anarcat]]