Fork me on GitHub

demarcate.js

demarcate.js is a jQuery based editor for Markdown. It lets you edit directly in a page and generate Markdown from the HTML elements. demarcate.js is under development by William Hart for the online publishing service to-textr. It supports many basic Markdown functions, however support for extensions is still limited. The library is offered under the MIT license


Where to get started

Have a look at the following links to see how demarcate.js works:

  1. The technical demo shows what demarcate.js currently supports.
  2. The 'pretty' editor demo shows how demarcate.js can be a light weight 'zen' editor for your site, or just a plain HTML to Markdown converter
  3. Read the documentation
  4. The latest stable version of demarcate.js is in action at to-textr.com

I'm keen to hear any feedback, queries or issues. Get in touch via twitter - - or raise an issue / pull request on the github site.