G
Guillaume Marcais
Is there a way to extract a table of content of a text with redcloth of
bluecloth?
What I have in mind is the ability to extract all the headers of a text
(h1., h2., etc. in textile) and generate: anchors within the html page
on these headers and a table of content with links to the headers.
So at the end of a wiki page I could add something like:
<div class="ToC">
ToC. <-- Replaced by *cloth bye the table of content -->
</div>
and get a beautiful and well linked table of content for free.
Is there already such a feature? Is it a reasonable feature request?
Guillaume.
bluecloth?
What I have in mind is the ability to extract all the headers of a text
(h1., h2., etc. in textile) and generate: anchors within the html page
on these headers and a table of content with links to the headers.
So at the end of a wiki page I could add something like:
<div class="ToC">
ToC. <-- Replaced by *cloth bye the table of content -->
</div>
and get a beautiful and well linked table of content for free.
Is there already such a feature? Is it a reasonable feature request?
Guillaume.