用过MarkdownPapers
和Markdown4J
,前者是最早接触到的,但是不太好用,后者是后来接触的,感觉比前者好用很多,基本上来说够用。
从google上看到说是后期打算增加table等功能都很期待,但是这个项目有两三年没更新了。
请问java项目有有没有其他更好用的MD包推荐一下。
用过MarkdownPapers
和Markdown4J
,前者是最早接触到的,但是不太好用,后者是后来接触的,感觉比前者好用很多,基本上来说够用。
从google上看到说是后期打算增加table等功能都很期待,但是这个项目有两三年没更新了。
请问java项目有有没有其他更好用的MD包推荐一下。
15 回答8.4k 阅读
8 回答6.2k 阅读
1 回答4.1k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
2 回答3.1k 阅读
2 回答3.8k 阅读
3 回答1.7k 阅读✓ 已解决
使用springboot + pegdown,但是很不给力,显示效果实在是弱爆了。
implemented in Java:
txtmark http://github.com/rjeschke/txtmark (claims to be fastest MD processor running on the JVM)
Markdown4j http://code.google.com/p/markdown4j (fork of txtmark, advantages? more active dev?)
MarkdownPapers http://markdown.tautua.org/ (based on JavaCC parser)
pegdown http://github.com/sirthias/pegdown
MarkdownJ http://code.google.com/p/markdownj (abandoned?)
implemented in Scala:
Laika https://github.com/planet42
Actuarius http://henkelmann.eu/projects/actuarius/ (acc. to author not fully standards compliant)
Knockoff http://tristanhunt.com/projects/knockoff (only subset of MD?)
ScalaMD https://github.com/chirino/scalamd