bin/md2html

Fri, 05 Aug 2022 20:56:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 05 Aug 2022 20:56:17 -0500
changeset 997
9e1ec7624f59
parent 931
55c477df9d1b
permissions
-rwxr-xr-x

Update for newer configs, use autostash

929
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 exec pandoc \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 --quiet \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 --standalone \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 -f markdown+smart \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 -t html5 \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 --toc \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8 --toc-depth=5 \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 --self-contained \
97b6cf0bd601 general-purpose md2html
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 --template=md2html \
931
Meredith Howard <mhoward@roomag.org>
parents: 929
diff changeset
11 "$@"

mercurial