Add support for markdown file extensions

Fixes #856

By the way @cjp are there any other Markdown extensions in common use?
print-window-tiddler
Jermolene 2014-09-16 20:06:23 +01:00
rodzic 2b78d5a977
commit 6d9bd4df8a
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1742,6 +1742,7 @@ $tw.boot.startup = function(options) {
$tw.utils.registerFileType("image/svg+xml","utf8",".svg",{flags:["image"]});
$tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]});
$tw.utils.registerFileType("application/font-woff","base64",".woff");
$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]);
// Create the wiki store for the app
$tw.wiki = new $tw.Wiki();
// Install built in tiddler fields modules