_pages: Run engine

This commit is contained in:
Stig-Ørjan Smelror 2024-02-02 10:41:37 +01:00
parent 5d7e6c4e2b
commit 82403acf3b

6
qsgen2
View File

@ -147,12 +147,12 @@ if [[ ${generator} == "native" ]]; then
engine=_html
export file_ext=tpl
elif [[ ${generator} == "markdown" ]]; then
if [[ ! -f /usr/bin/markdown-it ]]; then
_msg other "Please install the 'discount' package to use Markdown."
if [[ ! -f /usr/bin/Markdown.pl ]]; then
_msg other "Please install the perl-Text-Markdown package."
exit
else
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
engine="/usr/bin/Markdown.pl"
engine=/usr/bin/Markdown.pl
# function engine() {
#
# local command="/usr/bin/Markdown.pl"