IFencedBlock Interface
A common interface for fenced block (e.g: FencedCodeBlock or CustomContainer)
public interface IFencedBlock : IBlock, IMarkdownObject- Implements
Properties
| Name | Description |
|---|---|
| Arguments | Gets or sets the arguments after the IFencedBlock.Info. May be null. |
| ClosingFencedCharCount | Gets or sets the fenced character count used to close this fenced code block. |
| FencedChar | Gets or sets the fenced character used to open and close this fenced code block. |
| Info | Gets or sets the language parsed after the first line of the fenced code block. May be null. |
| InfoNewLine | Newline of the line with the opening fenced chars. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise NewLine.None. |
| NewLine | Newline after the last line, which is always the line containing the closing fence chars. "Inherited" from Block.NewLine. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise NewLine.None. |
| OpeningFencedCharCount | Gets or sets the fenced character count used to open this fenced code block. |
| TriviaAfterArguments | Gets or sets the trivia after the IFencedBlock.Arguments. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
| TriviaAfterFencedChar | Gets or sets the trivia after the IFencedBlock.FencedChar. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
| TriviaAfterInfo | Gets or sets the trivia after the IFencedBlock.Info. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
| TriviaBeforeClosingFence | Trivia before the closing fenced chars Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
| UnescapedArguments | Non-escaped IFencedBlock.Arguments exactly as in source markdown. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
| UnescapedInfo | Non-escaped IFencedBlock.Info exactly as in source markdown. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty. |
Arguments
Gets or sets the arguments after the IFencedBlock.Info. May be null.
string? Arguments { get; set; }Property value
ClosingFencedCharCount
FencedChar
Info
InfoNewLine
Newline of the line with the opening fenced chars. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise NewLine.None.
NewLine InfoNewLine { get; set; }Property value
NewLine
Newline after the last line, which is always the line containing the closing fence chars. "Inherited" from Block.NewLine. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise NewLine.None.
NewLine NewLine { get; set; }Property value
OpeningFencedCharCount
TriviaAfterArguments
Gets or sets the trivia after the IFencedBlock.Arguments. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice TriviaAfterArguments { get; set; }Property value
TriviaAfterFencedChar
Gets or sets the trivia after the IFencedBlock.FencedChar. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice TriviaAfterFencedChar { get; set; }Property value
TriviaAfterInfo
Gets or sets the trivia after the IFencedBlock.Info. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice TriviaAfterInfo { get; set; }Property value
TriviaBeforeClosingFence
Trivia before the closing fenced chars Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice TriviaBeforeClosingFence { get; set; }Property value
UnescapedArguments
Non-escaped IFencedBlock.Arguments exactly as in source markdown. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice UnescapedArguments { get; set; }Property value
UnescapedInfo
Non-escaped IFencedBlock.Info exactly as in source markdown. Trivia: only parsed when MarkdownPipeline.TrackTrivia is enabled, otherwise StringSlice.Empty.
StringSlice UnescapedInfo { get; set; }