Textile parsing in Objective-C?

感情迁移 提交于 2019-12-05 18:19:40

问题


Are there any libraries to parse Textile (Textile to HTML) which will work in an Objective C iPhone app? C libraries will work too.

Update: I couldn't find any sufficiently developed libraries in C/Obj-C, but I did find one written in Javascript, which I used through an invisible UIWebView.

Link: Javascript textile parser


回答1:


The only C library that I could find that might have Textile support is Natacha Porté's libupskirt library. It is described as being for markdown; however, there is a branch in the git repository called textile with a description of "Initial draft of Textile parsing". I have not tried this, so I cannot speak to the functionality, but it might be worth a look.




回答2:


The closest I was able to find aside from the other answer given here is one that's written in C++ and uses Qt ( http://github.com/IndigoJo/qijtextile ). I wouldn't suspect that you could just drop it in, but it might make for a usable template to implement it with Obj-C and/or C.



来源:https://stackoverflow.com/questions/2595871/textile-parsing-in-objective-c

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