Class
VisualMarkupBlock
ChartForgeX.Markup
Describes a supported visual fenced block extracted from Markdown.
Inheritance
- object
- VisualMarkupBlock
Usage
Explore 16 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method VisualMarkupScanner.ExtractBlocks
- Property VisualMarkupScanResult.Blocks
Accepted by parameters 14
- Method IVisualMarkupBlockParser.CanParse
- Method IVisualMarkupBlockParser.Parse
- Method MarkupArchitectureParser.ParseBlock
- Method MarkupChartParser.ParseBlock
- Method MarkupFlowParser.ParseBlock
- Method MarkupSequenceParser.ParseBlock
- Method MarkupTableParser.ParseBlock
- Method MarkupTimelineParser.ParseBlock
- Method MarkupTopologyParser.ParseBlock
- Method MermaidVisualMarkupBlockParser.CanParse
- Method MermaidVisualMarkupBlockParser.Parse
- Method MermaidVisualMarkupParser.ParseBlocks
- Method VisualMarkupFenceOptions.TryGetAttribute
- Method VisualMarkupParser.ParseBlocks
Constructors
public VisualMarkupBlock(VisualMarkupKind kind, string fenceName, string fenceInfo, int schemaVersion, string payload, int fenceLine, int startLine, int endLine, IReadOnlyDictionary<string, string> attributes) #Initializes a visual markup block.
Parameters
- kind ChartForgeX.Markup.VisualMarkupKind
- fenceName string
- fenceInfo string
- schemaVersion int
- payload string
- fenceLine int
- startLine int
- endLine int
- attributes System.Collections.Generic.IReadOnlyDictionary<string, string>
Inherited Methods
Properties
public string FenceName { get; } #Gets the normalized fence name, such as chartforgex topology or mermaid.
public string FenceInfo { get; } #Gets the full fence info string after the opening fence marker.
public int SchemaVersion { get; } #Gets the ChartForgeX markup schema version, or zero for external languages such as Mermaid.
public int FenceLine { get; } #Gets the one-based source line that contains the opening fence.
public int StartLine { get; } #Gets the one-based source line where the payload starts.
public int EndLine { get; } #Gets the one-based source line where the payload ends.
public IReadOnlyDictionary<string, string> Attributes { get; } #Gets attributes parsed from trailing fence metadata when present.