Include

Hextra include shortcode for inlining content from another page.

Includes the rendered content of another page inline. This shortcode must use the percent-delimiter syntax.

{{% hextra/include "include-snippet" %}}

Parameters:

ParameterDescriptionDefault
positionalPage path relative to the content directory(required)

Example (included from a separate page):

This paragraph was pulled in from a separate page using the hextra/include shortcode. It demonstrates how you can compose content from multiple sources into a single page.

  • Included content supports full Markdown formatting.
  • Lists, code, and emphasis all render correctly.