1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-15 22:34:51 +00:00
TiddlyWiki5/plugins/tiddlywiki/katex/files/tiddlywiki.files
lin onetwo 2f817e4293
Update katex to latest 0.15.3 (#6671)
* feat: update snippet fields

https://github.com/Jermolene/TiddlyWiki5/discussions/6670

* chore: upgrade files

* docs: update readme

* fix: usage of mhchem

* fix: add back katex.without-font-face.min.css

https://github.com/Jermolene/TiddlyWiki5/pull/6671#issuecomment-1116287404

* style: format json with 4 space

* style: format json with 1 space

* style: restore old format

* feat: update css by using new one and delete font face

* update developer info

* move implementation notes to plugin

* update TW style tiddler

* update katexdemo edition

* chore: delete unused files

* Update developer.tid

* Update developer.tid

Co-authored-by: pmario <pmariojo@gmail.com>
2022-07-09 08:37:47 +01:00

40 lines
1.1 KiB
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"
},{
"file": "contrib/mhchem.min.js",
"fields": {
"type": "application/javascript",
"title": "$:/plugins/tiddlywiki/katex/mhchem.min.js",
"module-type": "library"
},
"prefix": "(function(realRequire) {var require = function(m) {if(m===\"katex\"){m = \"$:/plugins/tiddlywiki/katex/katex.min.js\"};return realRequire(m);};",
"suffix": "})(require);\n"
}
]
}