From 295a380933f405ac1a96d59a12c96738d6d80fae Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 9 Jun 2025 21:52:14 +0200 Subject: [PATCH] Include tableofcontents -- --- Makefile | 1 + pandoc-template.html | 105 +++++++++-- static/css/style.css | 422 +++++++++++++++++++++++++++---------------- 3 files changed, 358 insertions(+), 170 deletions(-) diff --git a/Makefile b/Makefile index e53de20..663e7e9 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,7 @@ $(STAGING_DIR)/%.html: $(SRC_DIR)/%.md $(TEMPLATE) | $(STAGING_DIR) --template=$(TEMPLATE) \ --standalone \ --css=css/style.css \ + --toc \ --output=$@ \ $< diff --git a/pandoc-template.html b/pandoc-template.html index 680c8be..c109159 100644 --- a/pandoc-template.html +++ b/pandoc-template.html @@ -13,7 +13,7 @@
-
- -
-
-
- $body$ + +
+ + +
+ $body$
+
+