Simple-markdown-editor is a project mainly written in JavaScript, it's free.
Just a simple markdown editor. A light fork of the github gollum editor.
This is a work in progress!
Click here to see it working