File inclusion
File inclusion is useful for
- including entire pages in a content set (usually done in the
docset.yml
file) - breaking files into smaller units and including them where appropriate
If there are portions of content that are relevant to multiple pages, you can inject content from another file into any given MD file using the include
directive.
Syntax
:::{include} _snippets/my_snippet.md
:::
This is a snippet included on "File inclusion".
Tip
This is a snippet
Asciidoc syntax
include::shared-monitor-config.asciidoc[]