how to parse markdown via C# [closed]
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions开发者_运维技巧, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this questionI want to parse a markdown document and render it as formatted html, how can I do it please? Should I do this from scratch, or any API can be founded? so thanks.
and this blog posts may be useful: Introducing MarkdownSharp , Markdown, One Year Later , and Announcing Markdown.NET. regards
There is a google code project Markdownsharp.
Description from the project:
Open source C# implementation of Markdown processor, as featured on Stack Overflow. This port is based heavily on the original Perl 1.0.1 and Perl 1.0.2b8 implementations of Markdown, with bits and pieces of the apparently much better maintained PHP Markdown folded into it. There are a few Stack Overflow specific modifications (which are all configurable, and all off by default). I'd like to ensure that this version stays within shouting distance of the Markdown "specification", such as it is...
精彩评论