我有 markdown,如何在 win 8 应用程序中显示格式化文本?
我尝试过的东西,可能对任何答案有用,也可能没有用
- 我尝试将 markdown 转换为 rtf 并在 RichTextBlock 中显示结果,但我在将 markdown 转换为 rtf 时遇到问题。
最佳答案
嗯。比我想象的更棘手......
我建议使用 markdownsharp从您的 Markdown 中派生 html 并将其显示在 html View 中。 (我确信“Windows 8 应用程序”至少有一个)
编辑
然后您可以在 WebView 中显示它或关注 this article转换为 rtf。
关于c# - 如何在 Windows 8 应用程序中显示 "markdown"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12820183/