An idea for within document anchor references

Jason Kitcat jeep at j-dom.org
Sun Aug 21 10:52:24 EDT 2005


Hi

Fletcher T. Penney <fletcher at alumni.duke.edu> said on 20/8/05:

> When I was playing around with my own version of Markdown, and

>using it for my wiki, I realized that I really wanted to be able to

>create anchors to headers within a file.

>

> My solution to that was to modify the header output so that each

>header is attached to an id tag:

>

> <h3 id="someheadertext">Some Header Text</h3>

>

> The header tag is simply the concatenated form of the header,

>with invalid punctuation characters removed (keeping it valid XHTML).


I think this is an excellent idea - though perhaps a trick or two is needed to prevent id collisions. I would find such a feature very useful.

regards,
Jason
--
Jason Kitcat
managing director
swing digital - online community consultancy

<http://www.swingdigital.com>
blog: <http://www.j-dom.org>

t +44 (0) 845 200 2734
m +44 (0) 7956 886 508


More information about the Markdown-Discuss mailing list