开发者

how to parse markdown via C# [closed]

开发者 https://www.devze.com 2023-04-02 05:03 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

I 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...

0

精彩评论

暂无评论...
验证码 换一张
取 消