1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-08 11:46:40 +00:00

Add text/asciidoc MIME type

This type is not registered yet officially
(https://github.com/asciidoctor/asciidoctor/issues/2502), but used by
"Asciidoctor for TiddlyWiki" plugin
(https://bimlas.gitlab.io/tw5-asciidoctor/)
This commit is contained in:
bimlas 2018-09-11 09:44:44 +02:00
parent 587fe9d10e
commit f03b02a481

View File

@ -1998,6 +1998,7 @@ $tw.boot.startup = function(options) {
$tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]);
$tw.utils.registerFileType("text/markdown","utf8",[".md",".markdown"],{deserializerType:"text/x-markdown"});
$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]);
$tw.utils.registerFileType("text/asciidoc","utf8",[".ad",".adoc",".asciidoc"]);
$tw.utils.registerFileType("application/enex+xml","utf8",".enex");
$tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.wordprocessingml.document","base64",".docx");
$tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","base64",".xlsx");