
sh substitutions.sh $1.md

CSS=downstyler.css
#~ CSS=github-pandoc.css
#~ CSS=water.css
#~ CSS=style.css

pandoc -f markdown-auto_identifiers -t html --shift-heading-level-by=-1 \
-s $1.md -o $1.html \
--css=$CSS \
--embed-resources

exit 0

pandoc -f markdown-auto_identifiers -t html --metadata-file metadata.yaml \
-s $1.md -o $1.html \
--css=$CSS

pandoc -f markdown-auto_identifiers -t html --lua-filter=promote-headers.lua \
-s $1.md -o $1.html \
--css=$CSS

pandoc -f markdown-auto_identifiers -t html \
-s $1.md -o $1.html \
--metadata pagetitle="pagetitle" \
--variable title="" \
--css=$CSS \
--standalone

pandoc -f markdown-auto_identifiers -t html \
-s $1.md -o $1.html \
--metadata pagetitle="pagetitle" \
--variable title="" \
--css=$CSS \
--embed-resources --standalone

## https://pandoc.org/chunkedhtml-demo/7.2-headings-and-sections.html
