anchor names from headers (Setext and atx)?

Fletcher T. Penney fletcher at fletcherpenney.net
Mon Sep 24 18:22:55 EDT 2007


And just to round out the "me too's" in this thread, MultiMarkdown
has this feature as well. (And, via an XSLT file, you can generate a
ToC in XHTML).


Fletcher

On Sep 22, 2007, at 2:22 PM, Jeremy C. Reed wrote:


> It would be useful if defining headers (either Setext and atx

> style), if

> Markdown would also generate corresponding anchors:

>

> ## This is an H2 ##

>

> would create:

>

> <a name="This is an H2"/>

> <h2>This is an H2</h2>

>

> Or something like that.

>

> Or is that available some different way?

>

> Thanks,

>

> Jeremy C. Reed

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss




--
Fletcher T. Penney
fletcher at fletcherpenney.net

I put contact lenses in my dog's eyes. They had little pictures of cats
on them. Then I took one out and he ran around in circles.
- Steven Wright


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2437 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20070924/25479a35/attachment.bin>


More information about the Markdown-Discuss mailing list