This commit is contained in:
2026-01-25 00:05:49 +01:00
parent 13350d64b8
commit a9ed1c0281
18 changed files with 613 additions and 257 deletions

4
bin/render-mmd Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
PROJ_ROOT="$SCRIPT_DIR/../"
for x in "$PROJ_ROOT"/figures/*.mmd; do mmdc --pdfFit -c "$PROJ_ROOT/.mermaid-config.json" -i "$x" -o "$PROJ_ROOT/figures/$(basename "$x" .mmd).pdf"; done