bin/md2html

Tue, 07 Jun 2022 04:00:47 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 07 Jun 2022 04:00:47 -0400
changeset 994
d8f003e828e1
parent 931
55c477df9d1b
permissions
-rwxr-xr-x

try -kpitl

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