Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: TOCs and deeplinks for our house rules

by RonW (Parson)
on Oct 31, 2017 at 20:37 UTC ( #1202473=note: print w/replies, xml ) Need Help??

in reply to TOCs and deeplinks for our house rules

This would be a very good idea.

In case it might be helpful, years ago, I wrote a Perl program to add TOCs to HTML. If I can find it, I will post it under CUFP.

The program looks for header elements (<h1> through <h6>) and checks them for an id attribute. If there isn't one, it adds one, using a generated identifier. The text of the header elements is used for the TOC entries, which are dt elements in a dl list element. I did not implement nesting of dl lists.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202473]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2020-10-01 07:41 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (176 votes). Check out past polls.