YamlFrontMatterExtension Class
Extension to discard a YAML frontmatter at the beginning of a Markdown document.
public class YamlFrontMatterExtension : IMarkdownExtension- Implements
Constructors
| Name | Description |
|---|---|
| YamlFrontMatterExtension() |
YamlFrontMatterExtension()
public YamlFrontMatterExtension()No documentation is available.
Properties
| Name | Description |
|---|---|
| AllowInMiddleOfDocument | Allows the YamlFrontMatterBlock to appear in the middle of the markdown file. |
AllowInMiddleOfDocument
YamlFrontMatterExtension.csAllows the YamlFrontMatterBlock to appear in the middle of the markdown file.
public bool AllowInMiddleOfDocument { get; set; }Property value
Methods
| Name | Description |
|---|---|
| Setup(MarkdownPipeline, IMarkdownRenderer) | Configures this extension for the specified pipeline stage. |
| Setup(MarkdownPipelineBuilder) | Configures this extension for the specified pipeline stage. |
Setup overloads
Setup(MarkdownPipeline, IMarkdownRenderer)
YamlFrontMatterExtension.csConfigures this extension for the specified pipeline stage.
public void Setup(MarkdownPipeline pipeline, IMarkdownRenderer renderer)Parameters
pipelineMarkdownPipelinerendererIMarkdownRenderer
Setup(MarkdownPipelineBuilder)
YamlFrontMatterExtension.csConfigures this extension for the specified pipeline stage.
public void Setup(MarkdownPipelineBuilder pipeline)Parameters
pipelineMarkdownPipelineBuilder