MarkdownCustomContainerSyntax Class

A custom container: blocks between a fence of three colons or more, :::name arguments, and a fence as long.

public sealed class MarkdownCustomContainerSyntax : MarkdownBlockSyntax

Remarks

The HTML renderer writes it as a <div>, whose class is the MarkdownCustomContainerSyntax.Name.

Inheritance
MarkdownBlockSyntax MarkdownCustomContainerSyntax

Properties

NameDescription
ArgumentsGets the text after the name, without its escapes and entities, or an empty string when there is none.
BlocksGets the blocks of the container.
ClosingFenceTokenGets the colons that close the container, or the default token when the container is not closed.
NameGets the name after the opening fence, without its escapes and entities, or an empty string when there is none.
OpeningFenceTokenGets the colons that open the container.

Gets the text after the name, without its escapes and entities, or an empty string when there is none.

public string Arguments { get; }

Property value

string

Gets the blocks of the container.

public ImmutableArray<MarkdownBlockSyntax> Blocks { get; }

Gets the colons that close the container, or the default token when the container is not closed.

public SyntaxToken ClosingFenceToken { get; }

Property value

SyntaxToken

Gets the name after the opening fence, without its escapes and entities, or an empty string when there is none.

public string Name { get; }

Property value

string

Gets the colons that open the container.

public SyntaxToken OpeningFenceToken { get; }

Property value

SyntaxToken

Methods

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

Accept overloads

Accept(MarkdownSyntaxVisitor)

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

No documentation is available.

Accept<TResult>(MarkdownSyntaxVisitor<TResult>)

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

TResult?

No documentation is available.