Objective-C 中的文本解析?
是否有任何库可以在 Objective C iPhone 应用程序中解析 Textile(Textile 到 HTML)? C 库也可以工作。
更新:我在 C/Obj-C 中找不到任何足够开发的库,但我确实找到了一个用 Javascript 编写的库,我通过一个不可见的 UIWebView 使用了它。
链接: Javascript 纺织解析器
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我能找到的唯一可能支持 Textile 的 C 库是 Natacha Porté 的 libupskirt 库。它被描述为用于降价;但是,git 存储库中有一个名为
textile
的分支,其描述为“Textile 解析初始草案”。我还没有尝试过这个,所以我不能谈论它的功能,但它可能值得一看。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.除了这里给出的其他答案之外,我能找到的最接近的是用 C++ 编写并使用 Qt 的答案( http: //github.com/IndigoJo/qijtextile )。我不认为您可以直接将其放入,但它可能会成为一个可用的模板来使用 Obj-C 和/或 C 来实现它。
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.