[pmwiki-users] Automatically add anchors to heading tags?
Patrick R. Michaud
pmichaud at pobox.com
Sun Jul 22 14:04:10 CDT 2007
On Fri, Jul 20, 2007 at 09:11:00PM -0700, H. Fox wrote:
> On 7/5/07, Jonathan Abbett <jonathan at abbett.org> 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.)
>
> Now officially a requested feature. Vote / comment here:
>
> http://www.pmwiki.org/wiki/PITS/00955
I left some questions on the PITS page, but essentially:
* What if the heading contains other markups, such as links
or wikistyles? Do we have to be smart enough to strip those
somehow before producing the heading anchor?
* If a heading already has an anchor in it, should PmWiki
still generate yet another anchor for the heading?
* Do we convert all punctuation that appears in the heading,
or just parens?
Pm
More information about the pmwiki-users
mailing list