generator md: Use python-markdown-it
This commit is contained in:
parent
3e2a21d518
commit
e2bf9ee559
4
qsgen2
4
qsgen2
@ -147,12 +147,12 @@ if [[ ${generator} == "native" ]]; then
|
|||||||
engine=_html
|
engine=_html
|
||||||
export file_ext=tpl
|
export file_ext=tpl
|
||||||
elif [[ ${generator} == "markdown" ]]; then
|
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."
|
_msg other "Please install the 'discount' package to use Markdown."
|
||||||
exit
|
exit
|
||||||
else
|
else
|
||||||
# Usage: ${engine} ${1} - Where 1 is the file you want parsed
|
# 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
|
export file_ext=md
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user