Lightweight Text Markup language that can be converted to HTML and LaTeX with a Java library? [closed]

邮差的信 提交于 2020-01-01 19:23:11

问题


A simple lightweight markup language like e.g. defined by Ceole 1.0 could be very useful for use in program and application documentation that is used as the basis for automatically created HTML and LaTeX. Is there any Java library out there that would be able to create HTML AND LaTeX from some markup dialect (creole, markdown, textile or similar)?

Are there any tools or libraries that would make it easier to implement such a library oneself? Starting from scratch gets surprisingly complex when done right.


回答1:


Unless I've misunderstood your question, Fletcher Penney's Multimarkdown is about a comprehensive as you'll get for a markup language, and there appear to be a number of Java implementatons. HTML creation is standard and more fully-featured than the original Markdown (e.g. tables, definition lists), but Fletcher has also thought a lot about LaTeX.

There's also a useful community, which might help with further details.



来源:https://stackoverflow.com/questions/16361895/lightweight-text-markup-language-that-can-be-converted-to-html-and-latex-with-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!