Anchors in wiki pages
Is there a way to use anchorage in wiki pages ? For instance, I want to have a glossary page that contain all words, and link to the exact word location (using # ref) from other wiki pages.
Probably I can use a macro to define the anchor codes but I have no idea how to add the trailing
#anchor_name in wiki references.
RE: Anchors in wiki pages - Added by Sébastien Kirche about 12 years ago
I have the same needs.
For the definition of the anchor I have found how to add it to a title :
h3(#my_anchor). My title
But I did not figured yet if one can make a wiki link to such an anchor, my test either are not processed or link to new pages instead of the anchor in the page (the page#anchor is is escaped to a new page).
RE: Anchors in wiki pages - Added by Hartmut L almost 3 years ago
I would like to know if it's possible to create a link without creating a heading.
In my case I want to link to "details-name" in the following collapsible block
BTW: to link to an already created anchor, just use:
[[your_wiki_page_name#anchor_name|Give this link a name]]