Numbering Sections
Please help me with WikiSyntax to number the sections as below:
The problem is that there's no way to get tiki to number the sections. There's outline functionality if you use # tags, but it doesn't really work to mark up different sections of a document.
Do you think it might be possible to edit the code that renders the pages so that if it sees a # right after the ! or !! etc... (e.g. !# ) it would place a section number in the document. For example:
1. Header A
text one
2. Header B
text two
2.1. Header C
text three
3. Header D
Would look like:
1. Header A
text one
2. Header B
text two
2.1. Header C
text three
3. Header D
That's just an example, but I think you get the idea. I'm guessing this would mean modifying some of the php code that does the rendering of the wiki pages to see if there's a # after a ! and then insert the appropriate number, keeping track of them with a counter of some sort.
Please anyone help me out with this