Commit Graph

7 Commits

Author SHA1 Message Date
Everett Hildenbrandt
f3d81631e9 tools/pandoc-site: avoid calling HTML writer directly 2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
1c561c2270 tools/pandoc-site: switch to using Pandoc builtin function hierarchicalize 2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
78e10f7663 tools/pandoc-site: remove unused datastructure TOCAlignment and function ignoreTOC 2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
946fa1d498 tools/pandoc-{site,drop-toc}, Shake, site/, doc/: switch from bulletlist to metainline toc marker
Files `site/doc/{1.0,1.1}/hledger-ui.md` had to be treated specially because
thay had some other elements inside the same `BulletList` that the `toc` lived
inside. Because only the first element of the `BulletList` is compared, these
extra HTML elements were either dropped or replaced with a TOC at compile time.
By switching to the meta-inline `\$toc\$`, they started to persist into the
resulting HTML. The fix was to drop them from the source markdown.
2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
ae987b236b tools/pandoc-site: pass in generated toc from top-level filter 2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
e2a322283a tools/pandoc-site: remove attribution 2018-05-21 08:35:49 -07:00
Everett Hildenbrandt
bac12543df tools/pandoc-site.hs, Shake.hs: pandoc filter version of hakyll-std website builder 2018-05-09 10:13:02 -07:00