summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-02-19 17:00:49 +0100
committerJonas Smedegaard <dr@jones.dk>2024-02-19 17:00:49 +0100
commit3028efafe887d9ffcf9a75ff1aea11025dcb8e0f (patch)
tree8bfcfcfc8f2e2a579d9aee9fdb7fc2629be4dbe8
parentbf004f395625f42584d9d14c071696d1d63446d9 (diff)
add comment about option --fail-if-warnings
-rwxr-xr-xbin/any2qmd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/any2qmd.sh b/bin/any2qmd.sh
index f7759f5..36acb37 100755
--- a/bin/any2qmd.sh
+++ b/bin/any2qmd.sh
@@ -13,6 +13,7 @@ else
fi
# use intermediary file (cannot use pipe with quarto wrapper)
+# TODO: maybe add --fail-if-warnings
$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"~