It is possible to define either an absolute or a relative link leading to a specific section of a file in the same directory. To create absolute links, use the Fluid Topics deep links feature. For relative links, use one of the following methods.
For examples, select the Attachments button, and download the Markdown-internal-links-examples.zip
archive.
To link a topic within the same file:
-
Add the following anchor on the same line as the target header:
<span id="my-multi-word-header"/>
-
Use the following syntax to create a link:
[My text](#my-multi-word-header)
To link a specific topic located in another file within the same folder:
-
Add the following anchor on the same line as the target header:
<span id="my-multi-word-header"/>
-
Use the following syntax to create a link:
[My text](my file name.md#my-multi-word-header)
To access an anchor link, add ?section=my-multi-word-header
at the end of the URL of its parent topic.
It is not possible to create internal links using <h1 id="Hello">
and <a href="#Hello">
tags because Fluid Topics changes title IDs during processing.
- Use only one
#
for all heading sizes. - There should be no space between the
#
and the header. - Headers must be lower case.
- For multi-word headers, replace spaces with dashes.