Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

VisualMarkupScanner

Namespace ChartForgeX.Markup

Scans Markdown for ChartForgeX and Mermaid visual fenced blocks without depending on a Markdown renderer.

Inheritance

  • Object
  • VisualMarkupScanner

Methods

ExtractBlocks(System.String text) #

Extracts all supported visual fenced blocks from Markdown.

Parameters

text System.String required
The Markdown text.

Returns

The supported visual blocks.

ParseFenceBlock(System.String fenceInfo, System.String payload, System.Int32 fenceLine, System.Int32 payloadStartLine, System.Int32 payloadEndLine) #

Validates and projects a visual fence that was already discovered by another Markdown parser.

Parameters

fenceInfo System.String required
The full fence info string after the opening marker.
payload System.String required
The fence payload.
fenceLine System.Int32 required
The one-based source line containing the opening fence.
payloadStartLine System.Int32 required
The one-based source line where the payload starts.
payloadEndLine System.Int32 required
The one-based source line where the payload ends.

Returns

A scan result containing the projected block or validation diagnostics.

Scan(System.String text) #

Scans Markdown for supported visual fenced blocks and line-aware diagnostics.

Parameters

text System.String required
The Markdown text.

Returns

The visual scan result.