This demo uses the CommonMark JAR with CheerpJ's 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.
git clone https://github.com/leaningtech/cheerpj-demo-commonmark.git
cd cheerpj-demo-commonmark
npx http-server