Added option to pandoc, to preserve line wrapping

master
Aadhavan Srinivasan 12 months ago
parent ad2bc3a3ad
commit 1a477a1abf

@ -110,7 +110,7 @@ md_to_html() {
path_for_output="$(dirname $path_for_output)/$(basename $path_for_output .md).html"
# Convert the file, and place the output in the correct location
pandoc -f markdown $BASE_PATH/temp/`basename $file` > ${path_for_output}
pandoc -f markdown --wrap=preserve $BASE_PATH/temp/`basename $file` > ${path_for_output}
rm $BASE_PATH/temp/*
add_header_and_footer $path_for_output

Loading…
Cancel
Save