mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-10-27 18:53:18 +00:00
c4215dd154
necessary for inclusion of CHANGELOG.md
24 lines
504 B
Markdown
24 lines
504 B
Markdown
---
|
|
title: Include
|
|
description: "Displays content from other markdown files"
|
|
---
|
|
|
|
The include shortcode includes other files from your project inside of the current file. This can even contain markdown and will be taken into account when generating the table of contents.
|
|
|
|
## Usage
|
|
|
|
````
|
|
{{%/* include "<file>" */%}}
|
|
````
|
|
|
|
## Examples
|
|
|
|
### Arbitray content
|
|
|
|
{{% include "shortcodes/INCLUDE_ME.md" %}}
|
|
|
|
{{% expand "Show markup" %}}
|
|
````
|
|
{{%/* include "shortcodes/INCLUDE_ME.md" */%}}
|
|
````
|
|
{{% /expand %}}
|