From 1a477a1abfa7e632076b0865f557a03b21945e42 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Mon, 8 Jan 2024 22:52:56 -0500 Subject: [PATCH] Added option to pandoc, to preserve line wrapping --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 15240fc..eb57a33 100755 --- a/build.sh +++ b/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