From 476dff8dec3fd877805f1c341e823adb80cfa22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Fri, 2 Feb 2024 07:52:31 +0100 Subject: [PATCH] generator md: Try Discount markdown --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 3151fec..daf0094 100755 --- a/qsgen2 +++ b/qsgen2 @@ -153,10 +153,10 @@ elif [[ ${generator} == "markdown" ]]; then else # Usage: ${engine} ${1} - Where 1 is the file you want parsed function engine() { - local command="/usr/bin/markdown-it" - local c-opts="" + local command="/usr/bin/markdown" + local c-opts="-d -n -s" - command c-opts "$1" > "$1" + command c-opts "${1}" > "${1}" } export file_ext=md fi