[pmwiki-users] Automatically add anchors to heading tags?

Jonathan Abbett jonathan at abbett.org
Fri Jul 6 07:52:08 CDT 2007


Ideally, I'd like the text of the heading to become the anchor text...

! Introduction ==> <h1><a name="Introduction">Introduction</a></h1>
!! Subsection One ==> <h2><a name="Subsection_One">Subsection One</a></h2>

I think it would be pretty useful as a core feature, but I can try one 
of the other helpful Cookbook suggestions that have come over the wire.

--Jonathan



Patrick R. Michaud wrote:
> On Thu, Jul 05, 2007 at 05:01:24PM -0400, Jonathan Abbett wrote:
> > Greetings, all--
> > 
> > Is there a simple way to configure pmWiki such that all headings (H1, 
> > H2, etc) are automatically generated with anchor tags so people can link 
> > directly to a section or subsection?  (I believe MediaWiki has this 
> > functionality by default.)
>
> What values do you want the anchor tags to have?
>
> Pm
>   



More information about the pmwiki-users mailing list