hugo-geekdoc/exampleSite/content/en/shortcodes/toc.md

55 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

---
title: ToC
---
Simple wrapper to generate a page Table of Content from a shortcode.
## Usage
<!-- prettier-ignore -->
```tpl
{{</* toc (format=[html|raw]) */>}}
```
### Attributes
<!-- prettier-ignore-start -->
<!-- spellchecker-disable -->
{{< propertylist name=shortcode-toc sort=name order=asc >}}
<!-- spellchecker-enable -->
<!-- prettier-ignore-end -->
## Example
{{< toc >}}
2020-09-10 20:23:24 +00:00
## Level 1
2020-05-31 16:17:32 +00:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts feud gait, quid exercise emeritus bis e. In pro quints consequent, denim fastidious copious quo ad. Stet probates in duo.
2020-02-27 08:49:46 +00:00
## Level 2
2020-05-31 16:17:32 +00:00
Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram.
2020-02-27 08:49:46 +00:00
### Level 2.1
2020-05-31 16:17:32 +00:00
Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram.
2020-02-27 08:49:46 +00:00
#### Level 2.1.1
2020-05-31 16:17:32 +00:00
Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim.
2020-02-27 08:49:46 +00:00
##### Level 2.1.1.1
2020-05-31 16:17:32 +00:00
In pro quints consequent, denim fastidious copious quo ad.
###### Level 2.1.1.1.1
2020-05-31 16:17:32 +00:00
In pro quints consequent, denim fastidious copious quo ad.
### Level 2.2
2020-05-31 16:17:32 +00:00
Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclimates investiture. Ornateness bland it ex enc, est yeti am bongo detract re. Pro ad prompts feud gait, quid exercise emeritus bis e.
2020-05-31 16:17:32 +00:00
Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim. Per expendable foreordained interpretations cu, maxim sole pertinacity in ram.