ToPlainText(String, MarkdownPipeline?, MarkdownParserContext?) Method

Definition

Namespace Markdig
Assembly Markdig.dll

Converts a Markdown string to Plain text by using a System.IO.StringWriter .

public static string ToPlainText(string markdown, MarkdownPipeline? pipeline = null, MarkdownParserContext? context = null)

Parameters

markdown
String

A Markdown text.

pipeline
MarkdownPipeline

The pipeline used for the conversion.

context
MarkdownParserContext

A parser context used for the parsing.

Returns

String
The result of the conversion