Normalize(String, TextWriter, NormalizeOptions?, MarkdownPipeline?, MarkdownParserContext?) Method

Definition

Namespace Markdig
Assembly Markdig.dll

Normalizes the specified markdown to a normalized markdown text.

public static MarkdownDocument Normalize(string markdown, TextWriter writer, NormalizeOptions? options = null, MarkdownPipeline? pipeline = null, MarkdownParserContext? context = null)

Parameters

markdown
String

The markdown.

writer
TextWriter

The destination TextWriter that will receive the result of the conversion.

options
NormalizeOptions

The normalize options

pipeline
MarkdownPipeline

The pipeline.

context
MarkdownParserContext

A parser context used for the parsing.

Returns

MarkdownDocument
A normalized markdown text.