demarcate was designed to allow streamlined "in-place" editing of documents written in Markdown format.

## What it does

Most Markdown editors let you edit in raw Markdown, and show you a preview of what you are doing. demarcate.js lets you edit the preview so you can immediately see how it will look.

// Enabled the DOM element with id 'textr_editable' for editing
$("#textr_editable").enable_demarcate(); // Bind to the editor close event, get the markdown and save // it to the server via AJAX$(document).bind('demarcate_editor_closed', function(e, elem) {