# MarkdownRendererPreProcessorPipeline

Helpers for applying renderer markdown pre-processors outside the full HTML render path.

Class 

`OfficeIMO.MarkdownRenderer`

**Namespace**

`OfficeIMO.MarkdownRenderer`

**Assembly**

`OfficeIMO.MarkdownRenderer`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[MarkdownRendererPreProcessorPipeline.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/MarkdownRendererPreProcessorPipeline.cs#L18)

**Modifiers**

static

Helpers for applying renderer markdown pre-processors outside the full HTML render path.

## Inheritance

- object
- MarkdownRendererPreProcessorPipeline

Filter members 

Show inherited

## Methods

`public static string Apply(string? markdown, MarkdownRendererOptions options, ICollection<MarkdownRendererPreProcessorDiagnostic>? diagnostics = null)` [#](#method-apply-string-officeimo-markdownrenderer-markdownrendereroptions-collections-generic-icollection-officeimo-markdownrenderer-markdownrendererpreprocessordiagnostic)

[MarkdownRendererPreProcessorPipeline.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.MarkdownRenderer/MarkdownRendererPreProcessorPipeline.cs#L18)

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.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:7D56529EEB645F9B03100D7837BCFBF53F1920937FC03D6CD307CE7E01FDBAEA -->
