Class
MarkdownRendererPreProcessorPipeline
OfficeIMO.MarkdownRenderer
Helpers for applying renderer markdown pre-processors outside the full HTML render path.
Inheritance
- object
- MarkdownRendererPreProcessorPipeline
Methods
public static string Apply(string? markdown, MarkdownRendererOptions options, ICollection<MarkdownRendererPreProcessorDiagnostic>? diagnostics = null) #Applies the configured markdown pre-processor chain in order and returns the transformed markdown.
Parameters
- markdown string?
- Markdown input to process.
- options OfficeIMO.MarkdownRenderer.MarkdownRendererOptions
- Renderer options providing the pre-processor chain.
- diagnostics System.Collections.Generic.ICollection<OfficeIMO.MarkdownRenderer.MarkdownRendererPreProcessorDiagnostic>? = null
- Optional diagnostics sink describing pre-parse stages that ran.
Returns
string Processed markdown.