Anchor in wiki pages
Added by Yaroslav Matsera over 14 years ago
I have some questions about anchors in wiki:
- Can I include anchor in lists? For example I write wiki like this:
* Item 1 *(#Anchor). Item 2 <- I want insert anchor here
- How I can create link for local anchor? Next code not works:
See [[#Anchor|here]]
I can use full syntax[[this_wiki_page#anchor]]
, but it's not good if page will be renamed - Export to HTML not export anchors: I have link like
<a href="this_wiki_page.html" class="wiki-page">link name</a>
instead of<a href="#anchor" class="wiki-page">link name</a>
or (for full syntax)<a href="this_wiki_page.html#anchor" class="wiki-page">link name</a>
.
This problem like #3276
P.S. Sorry my bad English :)
Replies (1)
RE: Anchor in wiki pages - Added by Lubos Svoboda almost 10 years ago
You can use external link format [anchor title](#anchor). Not great, but better than hardcoding page name.
I'd welcome any way to create custom anchors too. Anyone?