summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-04-21 11:41:14 +0300
committerPaul Buetow <paul@buetow.org>2024-04-21 11:41:14 +0300
commit0377059719b0e7ceef084f6d5c42fe02cb01e2d2 (patch)
tree0b3c29cabe80cc0bd7eb5e0bb08d9af7f04ffb38 /README.md
parent754dda866799694e0365fde97387555d757ff0a4 (diff)
add TOC generator to the templating engine.
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.: