public PlainTextRenderer(TextWriter writer) : base(writer) { writer.NewLine = "\r\n"; // Replace some default inline renderers to work-around plain-text conversion bugs in Markdig.Markdown.ToPlainText(). ObjectRenderers.Replace <AutolinkInlineRenderer>(new PlainTextAutoLinkInlineRenderer()); ObjectRenderers.Replace <EmphasisInlineRenderer>(new PlainTextEmphasisInlineRenderer()); ObjectRenderers.Replace <LinkInlineRenderer>(new PlainTextLinkInlineRenderer()); }