Markdown to HTML with Java/Scala

后端 未结 1 862
暖寄归人
暖寄归人 2020-12-22 16:19

I am aware of following projects (mostly from http://www.w3.org/community/markdown/wiki/MarkdownImplementations):

implemented in Java:

  • txtmark http://g
相关标签:
1条回答
  • 2020-12-22 17:12

    The fantastic microbenchmark tool created by MarkdownPapers' author compares the performance for the following implementations:

    • MarkdownPapers
    • PegDown
    • Knockoff
    • MarkdownJ
    • TxtMark

    TxtMark far exceeds the performance of the other tools, as shown in the following graph:

    Performance comparisons of markdown implementations

    PegDown, which supports many GitHub extensions and others, is far more fully featured. Custom plugins or extensions are also possible.

    My use case involved processing markdown from an administrative screen where performance was less impactful than a rich feature set, which meant PegDown won over TxtMark.

    0 讨论(0)
提交回复
热议问题