X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5c4d806f0146e9fc9ccc7f82cf9e70c8bb0b50eb..3a04e96389def78bcb873a4487b85f4d75653199:/doc/todo/section-numbering.mdwn?ds=sidebyside diff --git a/doc/todo/section-numbering.mdwn b/doc/todo/section-numbering.mdwn index 6f8c44a4c..86a86de5b 100644 --- a/doc/todo/section-numbering.mdwn +++ b/doc/todo/section-numbering.mdwn @@ -2,4 +2,10 @@ Optional automatic section numbering would help reading: otherwise, a reader (like me) gets lost in the structure of a long page. -I guess it is implementable with complex CSS... but one has first to compose this CSS in any case. So, this wish still has a todo status. +I guess it is implementable with complex CSS... but one has first to compose this CSS in any case. So, this wish still has a todo status. --Ivan Z. + +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. + + - a known CSS technique. works well. adapted here due to that numbering starting from h2, where ikiwiki (incorrectly) starts headings from h1 --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]]