Update Markdown options to use GFM line breaks

pull/80/head
Wes Cossick 9 years ago
parent 06867c9ea9
commit 2a32e619a4

@ -587,7 +587,11 @@ SimpleMDE.toolbar = toolbar;
*/
SimpleMDE.markdown = function(text) {
if(window.marked) {
// use marked as markdown parser
// Update options
marked.setOptions({
breaks: true
});
return marked(text);
}
};

Loading…
Cancel
Save