mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-26 23:00:35 +00:00
55 lines
1.8 KiB
Markdown
55 lines
1.8 KiB
Markdown
---
|
|
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 >}}
|
|
|
|
## Level 1
|
|
|
|
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.
|
|
|
|
## Level 2
|
|
|
|
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.
|
|
|
|
### Level 2.1
|
|
|
|
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.
|
|
|
|
#### Level 2.1.1
|
|
|
|
Amalia id per in minimum facility, quid facet modifier ea ma. Ill um select ma ad, en ferric patine sentient vim.
|
|
|
|
##### Level 2.1.1.1
|
|
|
|
In pro quints consequent, denim fastidious copious quo ad.
|
|
|
|
###### Level 2.1.1.1.1
|
|
|
|
In pro quints consequent, denim fastidious copious quo ad.
|
|
|
|
### Level 2.2
|
|
|
|
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.
|
|
|
|
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.
|