summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f54540..b8ecad1 100644
--- a/README.md
+++ b/README.md
@@ -187,6 +187,12 @@ See more entries about DTail and Golang:
Blablabla...
```
+Table of contents generation can be done in any template file. Just add:
+
+```
+<< template::inline::toc
+```
+
### Alternative configuration file path
If you don't want to mess with `gemtexter.conf`, you can use an alternative config file path in `~/.config/gemtexter.conf`, which takes precedence if it exists. Another way is to set the `CONFIG_FILE_PATH` environment variable, e.g.: