00108: anchor
Description:
It's difficult to find how to put an anchor in a wikipage in the documentation. I just found [[#anchor]]
in the link section of MarkupMasterIndex but this is an anchor and not a link ?
With a few tries, something like this is working for a wikipage named MyPage
:
[[#Begin]]
[[MyPage#End | End]]
...
...[[#End]]
[[MyPage#Begin | Begin]]
If you're trying to create a link to an anchor in the current page, then
[[#Begin | link text]]
also works.
Feel free to modify the documentation however you think this could be improved. I can categorically state that what is there on this topic is the best I've been able to come up with so far. The problem is that I'm not sure where a person wanting this information is likely to look, or what they're looking for. --Pm
I found this in the http://www.pmwiki.org/wiki/PmWiki/SpecialMarkups page :
- [[#anchorname]]
- Creates an anchor in a page.
- [[#anchorname text]]
- Creates a link to an anchor within the same page.
Maybe something like :
- [[#anchorname]]
- Creates an anchor in a page.
- [[#anchorname | text]]
- Creates a link to an anchor within the same page.
- [[PageName#anchorname | text]]
- Creates a link to an anchor within PageName.
could be placed either in a SpecialMarkups page or in the Directives? page ? --noe
A good start on this has been done in the PmWiki.Links page, it just needs to be cleaned up a little bit to close this PITS. --Pm