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 : MarkdownBlockSyntaxRemarks
The HTML renderer writes it as a <div>, whose class is the MarkdownCustomContainerSyntax.Name.
- Inheritance
MarkdownBlockSyntaxMarkdownCustomContainerSyntax
Properties
| Name | Description |
|---|---|
| Arguments | Gets the text after the name, without its escapes and entities, or an empty string when there is none. |
| Blocks | Gets the blocks of the container. |
| ClosingFenceToken | Gets the colons that close the container, or the default token when the container is not closed. |
| Name | Gets the name after the opening fence, without its escapes and entities, or an empty string when there is none. |
| OpeningFenceToken | Gets the colons that open the container. |
Arguments
MarkdownCustomContainerSyntax.csGets the blocks of the container.
public ImmutableArray<MarkdownBlockSyntax> Blocks { get; }Property value
ClosingFenceToken
MarkdownCustomContainerSyntax.csGets the colons that close the container, or the default token when the container is not closed.
public SyntaxToken ClosingFenceToken { get; }Property value
OpeningFenceToken
MarkdownCustomContainerSyntax.csMethods
| Name | Description |
|---|---|
| Accept(MarkdownSyntaxVisitor) | |
| Accept<TResult>(MarkdownSyntaxVisitor<TResult>) |
Accept overloads
Accept(MarkdownSyntaxVisitor)
MarkdownCustomContainerSyntax.cspublic override void Accept(MarkdownSyntaxVisitor visitor)Parameters
visitorMarkdownSyntaxVisitor
No documentation is available.
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
MarkdownCustomContainerSyntax.cspublic override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)No documentation is available.