A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
Is it possible to choose what markdown is allowed? For example, I would like to disable all headers related markdown such as #, ##, etc.
To clarify further, I already know how to hide markdown options in the toolbar (sample code below). But this doesn't prevent someone knowledgeable in markdown to still insert any supported markdown into the editor and get a preview.
var simplemde = new SimpleMDE({
element: document.getElementById("blogtext"),
toolbar: ["bold","italic","strikethrough","quote","|","ordered-list","unordered-list","|","link","image","|","preview","|","guide"],
forceSync: true,
status: false,
spellChecker: false
});
Is it possible to choose what markdown is allowed? For example, I would like to disable all headers related markdown such as #, ##, etc.
To clarify further, I already know how to hide markdown options in the toolbar (sample code below). But this doesn't prevent someone knowledgeable in markdown to still insert any supported markdown into the editor and get a preview.