开发者

Textile parsing in Objective-C?

开发者 https://www.devze.com 2022-12-25 19:24 出处:网络
Are there any libraries to parse Textile (Textile to HTML) which will work in an Objective C iPhone app? C libraries will work too.

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 f开发者_如何学运维ind 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


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.


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.

0

精彩评论

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