MarkdownHtmlBlockSyntax Class

A block of raw HTML.

public sealed class MarkdownHtmlBlockSyntax : MarkdownBlockSyntax
Inheritance
MarkdownBlockSyntax MarkdownHtmlBlockSyntax

Properties

NameDescription
HtmlGets the HTML: the lines of the block joined by \n, without the line ending of the last one.
LineTokensGets the tokens of the lines of the block, with their line endings.

Gets the HTML: the lines of the block joined by \n, without the line ending of the last one.

public string Html { get; }

Property value

string

Gets the tokens of the lines of the block, with their line endings.

public ImmutableArray<SyntaxToken> LineTokens { get; }

Methods

NameDescription
Accept(MarkdownSyntaxVisitor)
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
GetPlainText()

Accept overloads

Accept(MarkdownSyntaxVisitor)

MarkdownHtmlBlockSyntax.cs
public override void Accept(MarkdownSyntaxVisitor visitor)
Parameters
visitor MarkdownSyntaxVisitor

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

MarkdownHtmlBlockSyntax.cs
public override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor MarkdownSyntaxVisitor<TResult>
Returns

TResult?

No documentation is available.

public override string GetPlainText()

Returns

string

No documentation is available.