Many changes, mainly to content, in preparation for version 1.0.0

This commit is contained in:
simon 2017-09-09 15:42:04 +01:00
parent 85467c19ce
commit 8eca444d0b
9 changed files with 119 additions and 72 deletions

View file

@ -22,6 +22,22 @@
</form>
</div>
<script>
var simplemde = new SimpleMDE();
var simplemde = new SimpleMDE({
autosave: {
enabled: true,
uniqueId: "Smeagol-{{page}}",
delay: 1000,
},
indentWithTabs: true,
insertTexts: {
horizontalRule: ["", "\n\n-----\n\n"],
image: ["![](http://", ")"],
link: ["[", "](http://)"],
table: ["", "\n\n| Column 1 | Column 2 | Column 3 |\n| -------- | -------- | -------- |\n| Text | Text | Text |\n\n"],
},
showIcons: ["code"], //, "table"], - sadly, markdown-clj does not support tables
spellChecker: true,
status: ["autosave", "lines", "words", "cursor"]
});
</script>
{% endblock %}