Generating a Lithium TOC
Revision as of 09:48, 10 May 2011 by Rand Linden (talk | contribs) (Created page with "'''Prerequisite''': Download this Perl script: http://duramecho.com/ComputerPrograms/HtmlHeadingsToTableOfContents/index.html '''Procedure''' # Copy / paste the HTML into a loc…")
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Prerequisite: Download this Perl script: http://duramecho.com/ComputerPrograms/HtmlHeadingsToTableOfContents/index.html
Procedure
- Copy / paste the HTML into a local file.
- Add <html><body> ....</body></html>
- Run script
- Copy paste results back into Lithium.
- Add TOC table wrapper code
TOC wrapper code
<table id="toc" class="toc" summary="Contents"> <tbody> <tr> <td> <!-- Generated TOC here --> </td> </tr> </tbody> </table>