2016-04-12 08:38:52 +02:00
|
|
|
Adding a table of contents becomes very easy with Daux.io
|
|
|
|
|
2016-04-14 12:02:31 +02:00
|
|
|
## 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
|
|
|
|
|
2016-04-14 12:02:31 +02:00
|
|
|
> 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
|
|
|
}
|
|
|
|
```
|