xref: /plugin/commonmark/script.js (revision 1adb3ebefb90af6f365426740ef114014c847a10)
1/* Add buttons related to Markdown to the toolbar */
2
3if (typeof window.toolbar !== 'undefined') {
4    toolbar[toolbar.length] = {
5        type: "insert",
6        title: "Markdown Doctype",
7        icon: "../../plugins/commonmark/images/markdown.png",
8        key: "",
9        insert: "<!DOCTYPE markdown>",
10        block: "true"
11    };
12}
13