Internal references let you create clickable links to headings, images, charts, and tables within your document. References are automatically resolved with correct numbering at render time.Documentation Index
Fetch the complete documentation index at: https://docs.autype.com/llms.txt
Use this file to discover all available pages before exploring further.
Defining anchors
Heading anchors
Add{#anchor-id} at the end of a heading:
Image anchors
Add ananchor attribute to an image:
Chart anchors
Add ananchor attribute to a chart directive:
Table anchors
Add ananchor attribute to a table directive:
Anchor ID rules
- Must start with a letter (a–z, A–Z)
- Can contain letters, numbers, underscores, and hyphens
- Must be unique within the document
- Examples:
intro,fig-1,section_2,data-analysis
Referencing anchors
There are three display modes for internal references:Auto mode
Use empty brackets[] to automatically show the target’s numbered prefix and title:
Template mode
Include{num} in the link text — it gets replaced with the target’s number:
- As shown in Figure 1, the architecture…
- Refer to Table 2 for the full dataset.
- See Section 2 for methodology.
Custom mode
Provide any text without{num} — it’s displayed as-is:
- For sales data, refer to the chart below.
- As discussed earlier, the results are clear.
Summary
| Syntax | Mode | Description | Example Output |
|---|---|---|---|
[](#anchor) | Auto | Numbered prefix + title | ”Section 2.1 Introduction” |
[Text {num}](#anchor) | Template | Replaces {num} with number | ”Figure 1” |
[Custom Text](#anchor) | Custom | Shows your text as-is | ”Custom Text” |
Validation
Autype validates references at render time:- Duplicate anchors — two elements with the same anchor ID will cause a validation error
- Broken references — references to non-existent anchors will cause a validation error
