include: new shortcode #43

necessary for inclusion of CHANGELOG.md
This commit is contained in:
Sören Weber 2021-08-23 22:16:08 +02:00
parent 2a5deb0534
commit c4215dd154
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,14 @@
You can add:
- multiple paragraphs
- bullet point lists
- _emphasized_, **bold** and even **_bold emphasized_** text
- [links](https://example.com)
- other shortcodes besides `expand`
- etc.
```
...and even source code
```
> the possiblities are endless

View file

@ -0,0 +1,24 @@
---
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 %}}

View file

@ -14,6 +14,7 @@ Some markup
```` ````
## Examples ## Examples
### Note ### Note
{{% notice note %}} {{% notice note %}}