API Reference
Function
New-HTMLMermeidChart
Creates a new HTML Mermaid chart.
Remarks
This function creates a new HTML Mermaid chart based on the provided Markdown scriptblock.
Examples
EXAMPLE 1
New-HTMLMermeidChart -Markdown { @"
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
"@ }
This example creates a simple flowchart with nodes A, B, C, and D connected by arrows.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HTMLMermeidChart [-Markdown <ScriptBlock>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Markdown ScriptBlock
- The Markdown scriptblock containing the Mermaid chart definition.