What this is
CommonMark JAR has been used with CheerpJ library mode to build
a browser-based Markdown editor. Java is used as a computation
engine to parse Markdown and render HTML, while JavaScript
handles the UI.
How it works
On each edit, JS passes Markdown text to CommonMark, receives
rendered HTML, and injects it into the page.
- JS captures Markdown text from the editor
- Java (CommonMark) parses + renders HTML in-browser
- JS injects HTML into the preview
Runtime details
Library
commonmark-0.27.1.jar
Mode
cheerpjRunLibrary()
Java
17