Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 490 Bytes

This is a clone of pagedown, markdown editor used on SO with live preview, one from lot of others. This fork adds support for emails autolinking and custom selectors:

var editor = new Markdown.Editor(
    converter,
    {
        buttonBar: '#buttonBar',
        preview: '#preview',
        input: '#input'
    }
);