mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Updated pandoc usage
This commit is contained in:
parent
482feb559a
commit
df16ff520a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ if [[ "$FILE" == *.php ]] && [ "$ENABLE_PHP" = "true" ]; then
|
|||
php "$FILE" >> $OUTFILE
|
||||
elif [[ "$FILE" == *.md ]] && [ "$ENABLE_MARKDOWN" = "true" ]; then
|
||||
. ./httpheaders.sh
|
||||
pandoc -f markdown_github "$FILE" >> $OUTFILE
|
||||
pandoc -f gfm "$FILE" >> $OUTFILE
|
||||
elif [ -f "${FILE}" ]; then
|
||||
CONTENTTYPE=$(file -b -i "$FILE")
|
||||
. ./httpheaders.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue