Textile parsing in Objective-C?

2020-07-06 04: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.

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

2条回答
该账号已被封号
2楼-- · 2020-07-06 05:03

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.

查看更多
倾城 Initia
3楼-- · 2020-07-06 05:12

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.

查看更多
登录 后发表回答