任何基于WPF的降价渲染? [英] Any WPF based Markdown renderer?

查看:288
本文介绍了任何基于WPF的降价渲染?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有WPF应用程序。我们那里的文本编辑在网上单独的字符串库。在我们的WPF应用程序,我们使用字符串库中的文本。我们的文档团队使用其中的一些文本从字符串库为他们的HTML帮助文档。一些文本用于在这两个应用程序的交叉。

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.

该文档小组希望有内置的HTML文本的存储库,以便它可以在HTML文本格式呈现。但我们不希望使用大重量的HTML浏览器中的WPF。

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.

是否有任何WPF控件直接显示在降价?有了这个,WPF可以直接支持降价,因为它是我们可以利用降价夏普转换为HTML。

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.

降价的C#/ WPF项目(MarkdownSharp)

轻轻样式的文本库WPF?

WPF HTML文本块。纵观实施,降价到WPF可能很容易..

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

<一个href="http://www.$c$cproject.com/KB/WPF/htmltextblock.aspx">http://www.$c$cproject.com/KB/WPF/htmltextblock.aspx

推荐答案

您可以使用的这个演示将HTML转换为XAML,呈现在WPF。

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

这篇关于任何基于WPF的降价渲染?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆