API Reference
VisualMarkupBlock
Describes a supported visual fenced block extracted from Markdown.
Inheritance
- Object
- VisualMarkupBlock
Usage
Explore 15 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 13
- Method IVisualMarkupBlockParser.CanParse
- Method IVisualMarkupBlockParser.Parse
- 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, Int32 schemaVersion, String payload, Int32 fenceLine, Int32 startLine, Int32 endLine, IReadOnlyDictionary<String, String> attributes) #Initializes a visual markup block.
Parameters
- kind ChartForgeX.Markup.VisualMarkupKind
- fenceName System.String
- fenceInfo System.String
- schemaVersion System.Int32
- payload System.String
- fenceLine System.Int32
- startLine System.Int32
- endLine System.Int32
- attributes System.Collections.Generic.IReadOnlyDictionary<System.String, System.String>
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public VisualMarkupKind Kind { get; } #Gets the visual kind.
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 Int32 SchemaVersion { get; } #Gets the ChartForgeX markup schema version, or zero for external languages such as Mermaid.
public String Payload { get; } #Gets the extracted fence payload.
public Int32 FenceLine { get; } #Gets the one-based source line that contains the opening fence.
public Int32 StartLine { get; } #Gets the one-based source line where the payload starts.
public Int32 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.