MarkdownFigureSyntax Class

A figure: blocks between a fence of three carets or more, ^^^, and a fence as long, with the captions after the fences.

public sealed class MarkdownFigureSyntax : MarkdownBlockSyntax
Inheritance
MarkdownBlockSyntax MarkdownFigureSyntax

Properties

NameDescription
BlocksGets the blocks of the figure, with its captions, which are the text after its fences.
ClosingFenceTokenGets the carets that close the figure, or the default token when the figure is not closed.
OpeningFenceTokenGets the carets that open the figure.

Gets the blocks of the figure, with its captions, which are the text after its fences.

public ImmutableArray<MarkdownBlockSyntax> Blocks { get; }

ClosingFenceToken

MarkdownFigureSyntax.cs

Gets the carets that close the figure, or the default token when the figure is not closed.

public SyntaxToken ClosingFenceToken { get; }

Property value

SyntaxToken

OpeningFenceToken

MarkdownFigureSyntax.cs

Gets the carets that open the figure.

public SyntaxToken OpeningFenceToken { get; }

Property value

SyntaxToken

Methods

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

Accept overloads

Accept(MarkdownSyntaxVisitor)

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

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

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

TResult?

No documentation is available.