Sharepoint - How to add a hyperlink anchor in a Sharepoint wiki-page
I have managed to make this work by combining the information here and here.
To enable the bookmark functionality you need to get an admin to enable
SharePoint Server Publishing Infrastructure
feature on the site collection level and then theSharePoint Server Publishing
feature must be activated on the site level.Start by selecting the text that you want the link to point to.
Insert a new link
From Address
Paste the current page address in the
Address
fieldAdd your bookmark name (without the hash)
Select the text that should point to your bookmark and insert a new link
From Address
Type the name of the destination bookmark (don't forget the hash)
Save the page
The only way to do it is use an anchor tag in the code:
<a name="MyAnchor"></a>
Then add a hyperlink to the page the anchor is on, but include #MyAnchor:
http://mysite.com/wiki/page.aspx#MyAnchor
If there's a better way, let me know.