$tw.utils.registerFileType("text/vnd.tiddlywiki","utf8",".tid");
$tw.utils.registerFileType("application/x-tiddler","utf8",".tid");
Add this ones
$tw.utils.registerFileType("text/vnd.tiddlywiki","utf8",".md");
$tw.utils.registerFileType("application/x-tiddler","utf8",".md");
And change this lines$tw.utils.registerFileType("text/markdown","utf8",[".md",".markdown"],{deserializerType:"text/x-markdown"});
$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]);
to$tw.utils.registerFileType("text/markdown","utf8",[".mdX",".markdown"],{deserializerType:"text/x-markdown"});
$tw.utils.registerFileType("text/x-markdown","utf8",[".mdX",".markdown"]);
I'm not sure if we can and if we should provide this functionality. ... Markdown editors expect a common format if they read .md files. Using TW fields at the top is not standard for markdown.
I certainly would draw the line at integrating a full YAML parser, but there’s no reason why we couldn’t parse a simple subset of YAML fields from MD files.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/11ee592e-dae3-4e9a-bd75-1b879160d110n%40googlegroups.com.