Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Textile parsing in Objective-C?

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

like image 401
igul222 Avatar asked Apr 07 '10 20:04

igul222


2 Answers

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.

like image 136
Matthew Rankin Avatar answered Oct 13 '22 08:10

Matthew Rankin


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.

like image 29
James Snyder Avatar answered Oct 13 '22 06:10

James Snyder