MarkdownMathBlockSyntax Class

A math block: lines of math between $$ lines.

public sealed class MarkdownMathBlockSyntax : MarkdownBlockSyntax
Inheritance
MarkdownBlockSyntax MarkdownMathBlockSyntax

Properties

NameDescription
ClosingFenceTokenGets the closing $$, or the default token when the block runs to the end of its container.
LineTokensGets the tokens of the lines of math, with their line endings.
MathGets the math: its lines without the indentation of the block and the markers of its containers, each one ended by \n.
OpeningFenceTokenGets the opening $$.

Gets the closing $$, or the default token when the block runs to the end of its container.

public SyntaxToken ClosingFenceToken { get; }

Property value

SyntaxToken

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

public ImmutableArray<SyntaxToken> LineTokens { get; }

Gets the math: its lines without the indentation of the block and the markers of its containers, each one ended by \n.

public string Math { get; }

Property value

string

Gets the opening $$.

public SyntaxToken OpeningFenceToken { get; }

Property value

SyntaxToken

Methods

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

Accept overloads

Accept(MarkdownSyntaxVisitor)

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

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

MarkdownMathBlockSyntax.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.