Markdown to HTML with Java/Scala [closed]

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.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)