Anpassungen an der Mermaid-Bildkonvertierung
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
*.doc
|
*.doc
|
||||||
*.docx
|
*.docx
|
||||||
*.pdf
|
*.pdf
|
||||||
|
*.png
|
||||||
.obsidian
|
.obsidian
|
||||||
@@ -1,11 +1,16 @@
|
|||||||
$scriptDir = $PSScriptRoot
|
$scriptDir = $PSScriptRoot
|
||||||
|
$cfgFile = Join-Path $scriptDir 'mermaid-config.json'
|
||||||
|
|
||||||
$imgName = "ext-kunde__stufen"
|
$imgName = "ext-kunde__stufen"
|
||||||
$srcFile = Join-Path $scriptDir "$imgName.mmd"
|
$srcFile = Join-Path $scriptDir "$imgName.mmd"
|
||||||
$destFile = Join-Path $scriptDir "$imgName.svg"
|
$destFile1 = Join-Path $scriptDir "$imgName.svg"
|
||||||
mmdc -i $srcFile -o $destFile
|
$destFile2 = Join-Path $scriptDir "$imgName.png"
|
||||||
|
mmdc -i $srcFile -o $destFile1 -c $cfgFile
|
||||||
|
mmdc -i $srcFile -o $destFile2 -s 3
|
||||||
|
|
||||||
$imgName = "ext-kunde__architektur"
|
$imgName = "ext-kunde__architektur"
|
||||||
$srcFile = Join-Path $scriptDir "$imgName.mmd"
|
$srcFile = Join-Path $scriptDir "$imgName.mmd"
|
||||||
$destFile = Join-Path $scriptDir "$imgName.svg"
|
$destFile1 = Join-Path $scriptDir "$imgName.svg"
|
||||||
mmdc -i $srcFile -o $destFile
|
$destFile2 = Join-Path $scriptDir "$imgName.png"
|
||||||
|
mmdc -i $srcFile -o $destFile1 -c $cfgFile
|
||||||
|
mmdc -i $srcFile -o $destFile2 -s 3
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"flowchart": { "htmlLabels": false },
|
||||||
|
"sequence": { "htmlLabels": false },
|
||||||
|
"gantt": { "htmlLabels": false }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user