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.
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:
<a href="#my-multi-word-header">My text</a>
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:
<a href="my_file_name.md#my-multi-word-header">My text</a>
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.
- Headers must be lower case.
- For multi-word headers, replace spaces with dashes.