开发者

Any WPF based Markdown renderer? [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

We have WPF based application. We have separate String repository where the texts are edited in the web. In our WPF application, we use the text from string repository. Our document team use the some of those text from string repository for their html help document. Some texts are cross used in both the application.

The documentation team wants to have inbuilt html texts in the repository so that it can be rendered in html text format. But we do not want to use heavy weight html browser in to the WPF.

Are there any WPF controls which display the markdown directly? With this, WPF can directly support markdown as it is and we can use Markdown Sharp to convert to HTML.

I referenced the following post, but there are old enough now.

开发者_运维百科Markdown for C#/WPF Project (MarkdownSharp)

Lightly styled text library for WPF?

WPF Html Text Block from Code Project. Looking at implementation, markdown to wpf might be easy..

http://www.codeproject.com/KB/WPF/htmltextblock.aspx


You can use the this demo to convert HTML to XAML and render it in WPF.


The easiest would be to use WPF's WebBrowser control I guess if that doesn't counts as a

"heavy weight html browser in to the WPF".

.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜