daux.io/docs/01_Features/Table_of_contents.md

26 lignes
486 B
Markdown
Brut Vue normale Historique

2016-04-12 08:38:52 +02:00
Adding a table of contents becomes very easy with Daux.io
## Manual
Add `[TOC]` anywhere in your document and it will be replaced by a table of contents.
You can add it more than once in a page.
2016-04-12 08:38:52 +02:00
## Automatic
> Works only for html mode
2016-04-12 08:38:52 +02:00
A table of contents can be added automatically to all pages.
If `[TOC]` isn't present it will add it at the beginning of the page.
You can enable this feature in your configuration
```json
{
2020-04-25 14:44:43 +02:00
"html": {
"auto_toc": true
}
2016-04-12 08:38:52 +02:00
}
```