Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 253 Bytes

transform_markdow_to_flowdocument.md

File metadata and controls

12 lines (8 loc) · 253 Bytes

Transform markdow to flowdocument

// using MdXaml;
// using System.Windows.Documents;

Markdown engine = new Markdown();

string markdownTxt = System.IO.File.ReadAllText("example.md");

FlowDocument document = engine.Transform(markdownTxt);