bin/md2html

Sun, 05 Mar 2023 20:36:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 20:36:54 -0500
changeset 1065
23229c179f82
parent 931
55c477df9d1b
permissions
-rwxr-xr-x

I can just repeat

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