summaryrefslogtreecommitdiff
path: root/bin/any2qmd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/any2qmd.sh')
-rwxr-xr-xbin/any2qmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/any2qmd.sh b/bin/any2qmd.sh
index cbacf7b..f7759f5 100755
--- a/bin/any2qmd.sh
+++ b/bin/any2qmd.sh
@@ -13,6 +13,6 @@ else
fi
# use intermediary file (cannot use pipe with quarto wrapper)
-$PANDOC --to commonmark+smart --wrap none --output "$OUTFILE"~ "$INFILE"
+$PANDOC --to commonmark+smart+yaml_metadata_block --standalone --wrap none --output "$OUTFILE"~ "$INFILE"
perl -pe 's/ --- / -- /g; s/\\(?=['"'"'"])//g; s/^- / * /g;' < "$OUTFILE"~ > "$OUTFILE"
rm "$OUTFILE"~