Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownRendererPreProcessorPipeline

OfficeIMO.MarkdownRenderer

Namespace
OfficeIMO.MarkdownRenderer
Assembly
OfficeIMO.MarkdownRenderer
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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? required
Markdown input to process.
options OfficeIMO.MarkdownRenderer.MarkdownRendererOptions required
Renderer options providing the pre-processor chain.
diagnostics System.Collections.Generic.ICollection<OfficeIMO.MarkdownRenderer.MarkdownRendererPreProcessorDiagnostic>? = null optional
Optional diagnostics sink describing pre-parse stages that ran.

Returns

string Processed markdown.