md2pdf

pandoc wrapper to convert markdown to pdf
Index Commits Files Refs README
commit 7f07a72dcb948c46ad6b65bc3c4ba7b65ae898c0
parent a4291f17a4e5540be79d66babbe46692ac679525
Author: mjkloeckner <martin.cachari@gmail.com>
Date:   Sun, 30 Apr 2023 20:48:30 -0300

add missing quotes around variables expansion

Diffstat:
Mmd2pdf | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/md2pdf b/md2pdf
@@ -21,10 +21,10 @@ pandoc --pdf-engine=xelatex \
     -V linkcolor=teal \
     -V urlcolor=teal \
     -V fontsize:12pt \
-    -H $style_path \
+    -H "$style_path" \
     -f markdown+startnum+tex_math_dollars+implicit_figures+grid_tables \
     --shift-heading-level-by=-1 \
-    -o $output \
+    -o "$output" \
     "$filename".md
 
 [ $? -ne 0 ] && exit 3