[pmwiki-users] Setting an id-tag to a 2nd level heading and removing "name=" in anchor
Patrick R. Michaud
pmichaud at pobox.com
Wed Mar 23 12:02:39 CDT 2011
On Wed, Mar 23, 2011 at 04:39:21PM +0000, Hans wrote:
> But if a text section is retrieved through that, are not the
> initial !! missing?
The entire line containing the anchor is retrieved, including
any text before the anchor (i.e., including the initial "!!").
> What might be more useful is an anchor preceding a heading.
> Then it could be use to extract text including the heading,
> with suitable id.
The "!![[#heading]] Heading" markup does this (both in PmWiki
as it exists now and also with the possible changes to how it
generates id= tags).
More information about the pmwiki-users