Added option to pandoc, to preserve line wrapping
This commit is contained in:
2
build.sh
2
build.sh
@@ -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
|
||||
|
Reference in New Issue
Block a user