Converts a Markdown string to HTML and output to the specified writer.
public static MarkdownDocument ToHtml(string markdown, TextWriter writer, MarkdownPipeline? pipeline = null, MarkdownParserContext? context = null)
A Markdown text.
The destination TextWriter that will receive the result of the conversion.
The pipeline used for the conversion.
A parser context used for the parsing.