MarkdownCodeBlockRenderContext(String, String?, String?, Boolean, Theme, MarkdownStyle, MarkdownRenderOptions) Constructor

Definition

Assembly XenoAtom.Terminal.UI.Extensions.Markdown.dll

Describes a Markdown code block being rendered.

public MarkdownCodeBlockRenderContext(string Code, string? FenceInfo, string? Language, bool IsFenced, Theme Theme, MarkdownStyle Style, MarkdownRenderOptions Options)

Parameters

Code
String

The normalized code text with \n line endings.

FenceInfo
String

The raw fenced-code info string when present.

Language
String

The parsed language token derived from FenceInfo when present.

IsFenced
Boolean

A value indicating whether the source block is a fenced code block.

Theme
Theme

The current terminal UI theme.

Style
MarkdownStyle

The resolved markdown style.

Options
MarkdownRenderOptions

The active markdown render options.