Namespace SharpConsoleUI.Parsing
Classes
- FigletFont
Represents a parsed FIGlet font loaded from a .flf file.
- FigletRenderer
Renders text using a FIGlet font into lines of plain characters.
- LinkUrl
Percent-escapes a URL so it can safely live inside a
[link=…]markup tag, and reverses that escaping. The markup parser reads a tag by scanning to the next], so the escaped form must contain no literal].%is encoded, making Escape(string)/Unescape(string) exact inverses.
- MarkdownToMarkup
Translates a Markdown string into the library's native markup (the same dialect MarkupParser renders). Pure and stateless. Emphasis and headings emit colorless structural tags (they inherit the surrounding markup scope); only code, quotes, links and table borders carry colors, taken from MarkdownStyle.
- MarkupParser
Parses Spectre-compatible markup strings directly into Cell sequences, bypassing the ANSI roundtrip. Supports [bold red on blue]text[/] syntax, [rgb(r,g,b)], [#RRGGBB], and nested/closing tags.
- MarkupSpinnerClock
Static, monotonic-time-driven frame source for inline
[spinner]markup tags. The current frame is computed purely from elapsed time, so reading is allocation-free and requires no per-frame registration. Reserved width per style is constant, so inline spinners never cause text reflow. IsActive keeps the render loop repainting while inline spinners are on screen.
Structs
- LinkSpan
A clickable link region over a single rendered line, expressed in display-column (cell) coordinates. The range is half-open:
[StartCol, EndCol).