blob: 747111009995fef57c61faa74c8d475e676c7bc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
(function() {
var textarea = document.getElementsByTagName("textarea")[0];
var form = textarea.form;
var container = document.createElement('div');
/*container.innerHTML =
"<p>I know it looks funny in the editor, but to set the page "+
"title (what appears in the tab name/window bar), put this at "+
"the top of the page:</p>\n"+
"<pre>---\ntitle: \"Your Title Here\"\n---\n</pre>";*/
form.insertBefore(container, textarea);
container.appendChild(textarea);
var simplemde = new SimpleMDE({
autoDownloadFontAwesome: false,
element: textarea,
promptURLs: true,
forceSync: true,
showIcons: ["code", "table"],
});
})();
|