mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 14:46:19 +00:00
2f817e4293
* 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>
40 lines
1.1 KiB
Plaintext
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"
|
|
}
|
|
]
|
|
} |