add documentation for toc and toc-tree shortcode
This commit is contained in:
parent
0019007a37
commit
d9fc5a22b5
2 changed files with 26 additions and 0 deletions
17
exampleSite/content/shortcodes/toc.md
Normal file
17
exampleSite/content/shortcodes/toc.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
Simple wrapper to generate a page Table of Content from a shortcode.
|
||||
|
||||
```tpl
|
||||
{{</* toc */>}}
|
||||
```
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Level 1
|
||||
|
||||
## Level 2
|
||||
|
||||
### Level 2.1
|
||||
|
||||
### Level 2.2
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue