bin/md2html

Wed, 28 Dec 2022 22:28:58 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 28 Dec 2022 22:28:58 -0500
changeset 1006
12d7a48cef22
parent 931
55c477df9d1b
permissions
-rwxr-xr-x

add shfmt and scdoc stubs

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