Link anchors
Link anchors assign a unique name to a headline and its section. These anchors can be used in internal references and references between TYPO3 manuals.
As long as the anchor of a section stays the same the section can be moved to another page or the headline can be renamed and references will still go to the correct target.
You can define a link anchor with a label for a section.
In the following example, the link target columns-
is assigned
to the section with the title "Inline columns".
Place the link anchor definition directly before the section header:
.. _inline-columns:
Inline columns
==============
Link anchors should contain alphanumeric signs plus hyphen: ([a-
).
All other signs are automatically transformed by the symfony
\Symfony\
.
A recommended recipe could be:
- Duplicate the headline
- Transform to lowercase
- Replace all blanks by a hyphens
-
- Remove all non-alphanumeric characters or replace them by a hyphen
-
- Add
.. _
at the beginning. - Add
:
at the end.
We are currently trying to let Fractor support <https://
this and other transformations.