SourceForge – Link to Anchor in Wiki Page

sourceforge

I develop an open source application under the SourceForge web. I would like to be able to link to anchors (headline ids) inside a wiki page. The Markdown Syntax Guide does not mention how to do that. I looked at the HTML code of one of my existing wiki pages and there are no ids assigned to headlines by default.

I suppose there might be a way to do what I want as this seems to be an important feature. Besides, the Markdown Syntax Guide itself has ids assigned.

Best Answer

You can use standard HTML to insert an anchor to the text:

<span id="myHeading">My heading</span>
======================================

and then link to it like this:

[My heading](./#myHeading)