diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-03-12 01:36:04 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-03-12 01:36:04 +0100 |
commit | d4dfd5ba7fd8e25939eac17b4068d4ebaf43f1e3 (patch) | |
tree | 2c9dd33c70df66c0595e33986beed6d19cc0333b /bin/hedgedoc2quarto.sh | |
parent | c7353f6503e55be0bd94cb7eeef6fe40990b0b85 (diff) |
add Gantt diagram to code report
Diffstat (limited to 'bin/hedgedoc2quarto.sh')
-rwxr-xr-x | bin/hedgedoc2quarto.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/hedgedoc2quarto.sh b/bin/hedgedoc2quarto.sh new file mode 100755 index 0000000..eac4b33 --- /dev/null +++ b/bin/hedgedoc2quarto.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -eu + +perl -gp \ + -e 's/```\Kmermaid/{mermaid}\n%%| fig-width: 100%/g;'\ + -e 's/^gantt$/gantt\ntickInterval 1month/gm;' |