We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d6c67a commit 34baf43Copy full SHA for 34baf43
docs/syntax/file_inclusion.md
@@ -20,6 +20,16 @@ Files to be included must live in a `_snippets` folder to be considered a snippe
20
:::{include} _snippets/reusable-snippet.md
21
:::
22
23
+#### Linking to snippets with custom anchors
24
+
25
+To link to a heading with a [custom anchor (ID)](./headings.md#custom-anchor-links) defined in a snippet, target the parent file + anchor.
26
27
+For example:
28
29
+```markdown
30
+[my favorite esql function](parent-file.md#id-from-included-snippet)
31
+```
32
33
### Asciidoc syntax
34
35
```asciidoc
0 commit comments