How can I convert markdown into html in .NET?
var markdown = "Some **bold** text";
var output = ConvertMarkdownToHtml(markdown)
// Output: <p>Some <strong>bold</strong> text</p>
I have Markdown text stored in a database that needs to be converted to html when it is displayed.
I know about StackOverflow's WMD Editor (now PageDown), but that only converts client-side.
Markdown Sharp is what the site uses and is available on NuGet.