Commit graph

3 commits

Author SHA1 Message Date
Anmol Sethi
f333cb1a2b
docs: Defend install.sh
Closes #149
2022-12-01 13:29:04 -08:00
Anmol Sethi
91ac1280b3
ci/fmt.sh: More efficient 2022-12-01 09:54:09 -08:00
Anmol Sethi
b81647e7e3
Add markdown TOC generation using pandoc and shell
See a875763ecc/lib/misc.sh (L28)

The TOC is generated via pandoc and inserted via shell. `<!-- toc -->`
marks the insertion point, the TOC is inserted right below.

I'm using this in utils-go too. We should use it anywhere else we need
TOCs. I'm sure pandoc can handle the frontmatter in d2-docs too.
2022-12-01 09:54:09 -08:00