aboutsummaryrefslogtreecommitdiff
path: root/bin/hedgedoc2quarto.sh
blob: eac4b33e7d8c2bca03792bc8eeefdf61146cf8fd (plain)
  1. #!/bin/sh
  2. set -eu
  3. perl -gp \
  4. -e 's/```\Kmermaid/{mermaid}\n%%| fig-width: 100%/g;'\
  5. -e 's/^gantt$/gantt\ntickInterval 1month/gm;'