MarkdownFrontMatterSyntax Class
A YAML front matter at the start of the document, between --- and --- or ....
public sealed class MarkdownFrontMatterSyntax : MarkdownBlockSyntax- Inheritance
MarkdownBlockSyntaxMarkdownFrontMatterSyntax
Properties
| Name | Description |
|---|---|
| ClosingFenceToken | Gets the --- or ... that closes the front matter. |
| LineTokens | Gets the tokens of the lines of the front matter, with their line endings. |
| OpeningFenceToken | Gets the --- that opens the front matter. |
| Yaml | Gets the YAML: the lines between the fences, each one ended by \n. |
ClosingFenceToken
MarkdownFrontMatterSyntax.csGets the --- or ... that closes the front matter.
public SyntaxToken ClosingFenceToken { get; }Property value
LineTokens
MarkdownFrontMatterSyntax.csGets the tokens of the lines of the front matter, with their line endings.
public ImmutableArray<SyntaxToken> LineTokens { get; }Property value
OpeningFenceToken
MarkdownFrontMatterSyntax.csGets the --- that opens the front matter.
public SyntaxToken OpeningFenceToken { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(MarkdownSyntaxVisitor) | |
| Accept<TResult>(MarkdownSyntaxVisitor<TResult>) | |
| GetPlainText() |
Accept overloads
Accept(MarkdownSyntaxVisitor)
MarkdownFrontMatterSyntax.cspublic override void Accept(MarkdownSyntaxVisitor visitor)Parameters
visitorMarkdownSyntaxVisitor
No documentation is available.
Accept<TResult>(MarkdownSyntaxVisitor<TResult>)
MarkdownFrontMatterSyntax.cspublic override TResult? Accept<TResult>(MarkdownSyntaxVisitor<TResult> visitor)No documentation is available.