diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-12-07 23:09:07 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-12-07 23:09:07 +0000 |
commit | 419d1c420d3a9bcc37f314f5642bd08e5c7f1b42 (patch) | |
tree | 36bc9031ae71d5597912244a4f000cf05dde0030 | |
parent | f8efe1be4394c6497bab88d02862ac59e7d29f93 (diff) | |
download | the-tk.com-419d1c420d3a9bcc37f314f5642bd08e5c7f1b42.tar.gz the-tk.com-419d1c420d3a9bcc37f314f5642bd08e5c7f1b42.tar.xz the-tk.com-419d1c420d3a9bcc37f314f5642bd08e5c7f1b42.zip |
aoc2021-bigboys: enable TOC
-rw-r--r-- | content/projects/aoc2021-bigboys.md | 2 | ||||
-rwxr-xr-x | generate.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/content/projects/aoc2021-bigboys.md b/content/projects/aoc2021-bigboys.md index 536f310..48d88e9 100644 --- a/content/projects/aoc2021-bigboys.md +++ b/content/projects/aoc2021-bigboys.md @@ -4,6 +4,8 @@ Big inputs for Advent of Code 2021 puzzles. $desc +[TOC] + Don't eat all my server data cap, please mirror if you can. If you have a problem with the naming scheme, rename it on your machine. diff --git a/generate.py b/generate.py index 956e842..7b1e6bb 100755 --- a/generate.py +++ b/generate.py @@ -25,7 +25,7 @@ ERRORS = { 504: "Gateway Timeout", } -md = lambda s: Markup(markdown(s, extensions=['fenced_code', 'codehilite'])) +md = lambda s: Markup(markdown(s, extensions=['fenced_code', 'codehilite', 'toc'])) File = namedtuple('File', 'content date slug ext') def parse(path, has_date=False): |