Markdown in Java
Here is a note to future self about using markdown in java.
There are two pure java libraries I found: pagedown and markdownj.
Pagedown usage:
PegDownProcessor mp = new PegDownProcessor(); String html = mp.markdownToHtml(markup);
Pagedown has a dependency on parboiled.
markdownj usage:
MarkdownProcessor mp = new MarkdownProcessor(); String html = mp.markdown(markup);
markdownj is pure java library with no dependencies.
And there is always strapdownjs, a pure javascript/client side implementation.
blog comments powered by Disqus