Class MarkdownLineState
- Namespace
- SharpConsoleUI.Highlighting
- Assembly
- SharpConsoleUI.dll
Per-line parser state for the Markdown highlighter (tracks open fenced code blocks).
public record MarkdownLineState : SyntaxLineState, IEquatable<SyntaxLineState>, IEquatable<MarkdownLineState>
- Inheritance
-
MarkdownLineState
- Implements
- Inherited Members
- Extension Methods
Constructors
MarkdownLineState(bool)
Per-line parser state for the Markdown highlighter (tracks open fenced code blocks).
public MarkdownLineState(bool InFencedBlock = false)
Parameters
InFencedBlockboolTrue when the line begins inside an open fenced code block.
Properties
InFencedBlock
True when the line begins inside an open fenced code block.
public bool InFencedBlock { get; init; }