Generating a Lithium TOC

From Second Life Wiki
Revision as of 08:52, 10 May 2011 by Rand Linden (Talk | contribs)

Jump to: navigation, search

Prerequisite: Download this Perl script:


  1. Copy / paste the HTML into a local file.
  2. Add <html><body> ....</body></html>
  3. Run script
perl <YourHtmlFile.html>
4. Copy paste results back into Lithium.
5. Add TOC table wrapper code

TOC wrapper code

<table id="toc" class="toc" summary="Contents">
<!-- Generated TOC here -->