diff options
| author | Paul Buetow <paul@buetow.org> | 2024-04-21 11:41:14 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-04-21 11:41:14 +0300 |
| commit | 0377059719b0e7ceef084f6d5c42fe02cb01e2d2 (patch) | |
| tree | 0b3c29cabe80cc0bd7eb5e0bb08d9af7f04ffb38 /README.md | |
| parent | 754dda866799694e0365fde97387555d757ff0a4 (diff) | |
add TOC generator to the templating engine.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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.: |
