Class | Purpose |
---|---|
Microsoft.Toolkit.Parsers.Markdown.MarkdownDocument | Represents a Markdown Document. |
Microsoft.Toolkit.Parsers.Markdown.Render.MarkdownRendererBase | A base renderer for Rendering Markdown into Controls. |
Property | Type | Description |
---|---|---|
Blocks | IList<MarkdownBlock> | Gets or sets the list of block elements. |
Methods | Return Type | Description |
---|---|---|
Parse(string) | void | Parses markdown document text. |
LookUpReference(string) | LinkReferenceBlock | Looks up a reference using the ID. |
MarkdownRendererBase
, this class already has all the required methods, and some assistive code to make implementing a Renderer easy, all you have to do is implement the Block and Inline Rendering, and the output.IRenderContext
, which allows you to keep track of the Context of the rendering.Implementation | .NET Standard 1.4. |
---|---|
Namespace | Microsoft.Toolkit.Parsers |
NuGet package | Microsoft.Toolkit.Parsers |