是否有任何易于定制的轻量级标记?
我已经编写了一些 LaTeX,但现在我感到很懒,我想用 Markdown、reStructuredText 或 Textile 编写下一个更大的项目,以便于阅读。不幸的是,我希望拥有一些 TeX 可定制性并编写一些自己的语法结构来满足我的语义需求。
对于这样一种标记语言,我想要的一件事是现有的插件/过滤器可以生成 LaTeX 和 (X)HTML 输出。
因为我的需求可能无法立即满足,所以我的附带问题是,由于许多较新的解析器都是用 Python 编写的,是否有任何特别干净的 Python 实现可以让我轻松地插入新语法?
I've written some amounts of LaTeX but nowadays I'm feeling lazy and I would like to write my next bigger project in Markdown, reStructuredText or Textile for easy readability. Unfortunately, I'd like to have some of that TeX customizability and write some own syntax constructs to meet my semantic needs.
One thing I want for such a markup language is that there are existing plugins/filters to generate LaTeX and (X)HTML output.
Because my needs might not be fulfilled out of the box, my side question is that since many of the newer parsers are written in Python, is there any particularly clean Python implementation in which I would easily insert new syntax?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看
http://sphinx.pocoo.org/
使用
重构文本
http://docutils.sourceforge.net/rst.html
Look at
http://sphinx.pocoo.org/
using
Restructured Text
http://docutils.sourceforge.net/rst.html