summaryrefslogtreecommitdiffstats
path: root/gen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gen.sh')
-rwxr-xr-xgen.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/gen.sh b/gen.sh
index c0d2f12..44f0bdf 100755
--- a/gen.sh
+++ b/gen.sh
@@ -7,6 +7,9 @@ verbose=0 # Variables to be evaluated as shell arithmetic should be initialized
if [ ! "$(command -v cmark)" ]; then
echo "cmark not installed in $PATH"
fi
+if [ ! "$(command -v lowdown)" ]; then
+ echo "lowdown not installed in $PATH"
+fi
usage="$(basename "$0") [-h] [-v -w WORKDIR -f FILE]
@@ -109,7 +112,8 @@ for m in $MDLIST; do
esac
echo $HEADER > "${OUTPATH}"
- cmark --safe --validate-utf8 -t html --width 80 $m >> "${OUTPATH}"
+ #cmark --safe --validate-utf8 -t html --width 80 $m >> "${OUTPATH}"
+ lowdown -thtml --out-no-smarty $m >> "${OUTPATH}"
echo $FOOTER >> "${OUTPATH}"
if [ $verbose -gt 0 ]; then