1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-05 20:16:48 +00:00
TiddlyWiki5/plugins/tiddlywiki/katex/files/tiddlywiki.files
Jermolene 5754216479 KaTeX: Fix problem running under TiddlyDesktop as a wikifolder
Fixes https://github.com/Jermolene/TiddlyDesktop/issues/124 (the problem over there is that TiddlyWiki running as a wiki folder in TiddlyDesktop reports itself as running both under Node and the browser, and the previous test was wrongly choosing the fakedom)
2018-02-07 14:51:34 +00:00

32 lines
724 B
Plaintext

{
"directories": [
{
"path": "./fonts/",
"filesRegExp": "^.*\\.woff$",
"isTiddlerFile": false,
"fields": {
"title": {"source": "filename", "prefix": "$:/plugins/tiddlywiki/katex/fonts/"},
"type": "application/font-woff"
}
}
],
"tiddlers": [
{
"file": "katex.without-font-face.min.css",
"fields": {
"type": "text/plain",
"title": "$:/plugins/tiddlywiki/katex/katex.min.css"
}
},{
"file": "katex.min.js",
"fields": {
"type": "application/javascript",
"title": "$:/plugins/tiddlywiki/katex/katex.min.js",
"module-type": "library"
},
"prefix": "(function(document) {\n",
"suffix": "\n})(!$tw.browser ? $tw.fakeDocument : window.document)\n"
}
]
}