Skip to main content

MarkdownOptions Class

Definition​

Assembly:Avalonia.Controls.Markdown
Package:Avalonia.Controls.Markdown
public class MarkdownOptions

Inheritance: object -> MarkdownOptions

Remarks​

A control reads the options when it builds its parse pipeline. App setup runs before any control exists, so every control sees them.

Properties​

NameDescription
ExtensionsGets the Markdig extensions every Avalonia.Controls.Markdown control adds to its parse pipeline after the supported ones and before its own Avalonia.Controls.Markdown.Extensions.

Extensions Property​

Gets the Markdig extensions every Avalonia.Controls.Markdown control adds to its parse pipeline after the supported ones and before its own Avalonia.Controls.Markdown.Extensions.

public System.Collections.Generic.IList<Markdig.IMarkdownExtension> Extensions { get; set; }

Remarks​

MarkdownSerializer does not read these; pass them to its constructor to parse the way the controls do. Adding throws ArgumentNullException.