Skip to content

TOC & Include

Insert a table of contents anywhere in your content:

{{</* toc */>}}

This renders an auto-generated list of all headings on the page. Useful when you want the TOC in a specific location rather than the default sidebar position.

Include the content of another file into your page:

{{</* include "shared/disclaimer.md" */>}}
ParameterTypeDescription
First positionalstringRequired. Path to the file to include
  • Shared content — Include a standard disclaimer, license, or notice across multiple pages
  • Modular writing — Break long documents into separate files and compose them
  • Reusable snippets — Keep common code examples or instructions in one place
## License
{{</* include "partials/mit-license.md" */>}}