try ToC
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-09 17:01:54 +11:00
parent d8b68f2815
commit 1bb983b4b9
3 changed files with 7 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ steps:
commands:
#- pandoc --standalone --output=index.html --metadata title="SMT Readme" -t html5 README.md
# From https://gitlab.com/vimalkvn/pandoc-mvp-css
- pandoc -s README.md --embed-resources -c www/mvp.css --template template.html -o ./www/index.html
- pandoc -s README.md --embed-resources -c www/mvp.css --toc --toc-depth=2 --template template.html -o ./www/index.html
- cp ./www/index.html /shared/index.html
- name: restore-cache-with-filesystem