From e2bf9ee559816d97bc15c67f45c92dd4ac765159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Thu, 1 Feb 2024 18:25:28 +0100 Subject: [PATCH] generator md: Use python-markdown-it --- qsgen2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qsgen2 b/qsgen2 index d401371..62a0ddc 100755 --- a/qsgen2 +++ b/qsgen2 @@ -147,12 +147,12 @@ if [[ ${generator} == "native" ]]; then engine=_html export file_ext=tpl elif [[ ${generator} == "markdown" ]]; then - if [[ ! -f /usr/bin/markdown ]]; then + if [[ ! -f /usr/bin/markdown-it ]]; then _msg other "Please install the 'discount' package to use Markdown." exit else # Usage: ${engine} ${1} - Where 1 is the file you want parsed - engine=/usr/bin/markdown -d -n -s + engine="/usr/bin/markdown-it" export file_ext=md fi fi