bin/md2html

Mon, 13 Mar 2023 23:43:25 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 13 Mar 2023 23:43:25 -0500
changeset 1085
c2d11f022cf0
parent 931
55c477df9d1b
permissions
-rwxr-xr-x

Port encrypted file edit to lua

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