Wiki rendering engine for C#? like redcloth, bluecloth, or something decent

◇◆丶佛笑我妖孽 提交于 2019-12-06 07:04:24

问题


We have used the redcloth and bluecloth wiki renderer's with Ruby, basically you can do something like this...

html = RedCloth.to_html(wiki_content)

and poof, you get back HTML.

Is there something out there for C#/.NET ?


回答1:


try http://wikiplex.codeplex.com/




回答2:


There are some wiki rendering engines but the names escape me right now. Perhaps check out some of these open-source options? I've previously reviewed MindTouch from that list for an application and it was quite rich, but it did much more than I needed to do.

If you just need something to turn text into HTMLcontent, I use Halide which lets people type in a textarea then it'll HTML-ify links, remove dangerous content, add <p></p> and <br />, etc. Very simple but no built-in formatting options.

SO uses a custom version of Markdown for their text editor and HTML content rendering. Search google for Markdown.NET for a number of ports.



来源:https://stackoverflow.com/questions/450937/wiki-rendering-engine-for-c-like-redcloth-bluecloth-or-something-decent

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!