mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 22:04:51 +00:00
5754216479
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)
32 lines
724 B
Plaintext
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"
|
|
}
|
|
]
|
|
}
|