2024年03月17日
xref macro
Using xref
as a way to relatively link other notes in Antora can be done through this pattern:
component:module:file.adoc[file]
As an example, this links to the index of 幻想.
Source: xref macro
page aliases
I can also use :page-aliases:
to refer to a note that might keep moving like this.
The only issue is that i have to follow the component:module:file
or module:file
format.
This will reduce its usefulness when a note is from another componenet, but that should not be an issue because I will be setting up the components with different purposes.
Source: page aliases