Decrease headline level for included pages
|Reported by:||Owned by:||Noah Kantrowitz|
|Severity:||normal||Keywords:||headline smart hierarchy|
First I would like to say, that I love this macro as I can now use meta wiki pages constructing a kind of "book" of selected content in my wiki.
There are only two things I am missing:
- Incomplete TOC as already described in Ticket #2306
- Decreasing the level of all headlines in included wiki pages
Example: MainArticle goes like
= User Guide = [[Include(wiki:Installation, text/x-trac-wiki)]] .. more Include follow here ..
and Installation contains:
= Prerequisites = In order to install .. bla == Database == bla bla
The the resulting should be
= User Guide = == Prerequisites == In order to install .. bla === Database === bla bla
For best result, a decrease level counter should be passed down on each include. That would allow this feature to work properly even when an included page itself includes other pages (wich itself might again include other pages, ..). Of course a headline can not be below level 7 as this would break the HTML standards. I have no idea how to handle this in a smart way..
Thank you for your attention so far!
Change History (5)
comment:1 Changed 9 years ago by
|Cc:||lei@… added; anonymous removed|
|Trac Release:||0.10 → 0.11|