MarkdownDocument Class

Definition

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.

Caution

Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.

Represents a Markdown Document.

Initialize an instance and call Parse(String) to parse the Raw Markdown Text.
public class MarkdownDocument : Microsoft.Toolkit.Parsers.Markdown.Blocks.MarkdownBlock
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public class MarkdownDocument : Microsoft.Toolkit.Parsers.Markdown.Blocks.MarkdownBlock
[System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")]
public class MarkdownDocument : Microsoft.Toolkit.Parsers.Markdown.Blocks.MarkdownBlock
type MarkdownDocument = class
    inherit MarkdownBlock
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/windows-toolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type MarkdownDocument = class
    inherit MarkdownBlock
[<System.Obsolete("Parsing code has been deprecated, we suggest using Markdig. See https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/3200 for more info.")>]
type MarkdownDocument = class
    inherit MarkdownBlock
Public Class MarkdownDocument
Inherits MarkdownBlock
Inheritance
Attributes

Constructors

MarkdownDocument()

Initializes a new instance of the MarkdownDocument class.

Properties

Blocks

Gets or sets the list of block elements.

KnownSchemes

Gets a list of URL schemes.

Type

Gets or sets tells us what type this element is.

(Inherited from MarkdownBlock)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from MarkdownBlock)
GetHashCode()

Serves as the default hash function.

(Inherited from MarkdownBlock)
LookUpReference(String)

Looks up a reference using the ID. A reference is a line that looks like this: [foo]: http://example.com/

Parse(String)

Parses markdown document text.

ToString()

Converts the object into it's textual representation.

Applies to