From 6d9bd4df8a1133c2ba246333edad14e6028d3ea4 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 16 Sep 2014 20:06:23 +0100 Subject: [PATCH] Add support for markdown file extensions Fixes #856 By the way @cjp are there any other Markdown extensions in common use? --- boot/boot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/boot/boot.js b/boot/boot.js index b51257d54..9d838a0d6 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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