Generisches Skript zur Konvertierung aller Mermaid-Diagramme

This commit is contained in:
2026-08-12 13:17:43 +02:00
parent 695c5de88f
commit 9f63fd357f
3 changed files with 43 additions and 16 deletions
-16
View File
@@ -1,16 +0,0 @@
$scriptDir = $PSScriptRoot
$cfgFile = Join-Path $scriptDir 'mermaid-config.json'
$imgName = "ext-kunde__stufen"
$srcFile = Join-Path $scriptDir "$imgName.mmd"
$destFile1 = Join-Path $scriptDir "$imgName.svg"
$destFile2 = Join-Path $scriptDir "$imgName.png"
mmdc -i $srcFile -o $destFile1 -c $cfgFile
mmdc -i $srcFile -o $destFile2 -s 3
$imgName = "ext-kunde__architektur"
$srcFile = Join-Path $scriptDir "$imgName.mmd"
$destFile1 = Join-Path $scriptDir "$imgName.svg"
$destFile2 = Join-Path $scriptDir "$imgName.png"
mmdc -i $srcFile -o $destFile1 -c $cfgFile
mmdc -i $srcFile -o $destFile2 -s 3
@@ -1,5 +0,0 @@
{
"flowchart": { "htmlLabels": false },
"sequence": { "htmlLabels": false },
"gantt": { "htmlLabels": false }
}