public static string ToNormalizedMarkdown(MarkdownDocument document) { using (var sw = new StringWriter()) { var normalizeRenderer = new Nr.NormalizeRenderer(sw, _NormalizeOptions) { }; _Pipeline.Setup(normalizeRenderer); normalizeRenderer.Render(document); return(sw.ToString()); } }