mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-15 06:14:53 +00:00
a1d9464011
* Add optional KaTeX support to the tiddlywiki/markdown plugin. Uses the remarkable-katex plugin 1.1.8 by Brad Howes to enable KaTeX support if the tiddlywiki/katex plugin is installed. Fixes #2984. TESTED: Created a test wiki with: ``` $ node tiddlywiki.js test --init markdowndemo $ node tiddlywiki.js test --listen ``` * Verified markdown support works without the tiddlywiki/katex plugin enabled. * Verified markdown support works with the tiddlywiki/katex plugin enabled. * Verified KaTeX (both inline and blocks) work as expected when the tiddlywiki/katex plugin is enabled. * Mention remarkable-katex plugin usage in the readme Tiddler. * Include the remarkable-katex license as a tiddler. * Include the Remarkable license. * Include unminified original source of remarkable-katex 1.1.8.
37 lines
924 B
Plaintext
Executable File
37 lines
924 B
Plaintext
Executable File
{
|
|
"tiddlers": [
|
|
{
|
|
"file": "remarkable.js",
|
|
"fields": {
|
|
"type": "application/javascript",
|
|
"title": "$:/plugins/tiddlywiki/markdown/remarkable.js",
|
|
"module-type": "library"
|
|
}
|
|
},
|
|
{
|
|
"file": "remarkable-license.txt",
|
|
"fields": {
|
|
"type": "text/plain",
|
|
"title": "$:/plugins/tiddlywiki/markdown/remarkable-license"
|
|
}
|
|
},
|
|
{
|
|
"file": "remarkable-katex.min.js",
|
|
"fields": {
|
|
"type": "application/javascript",
|
|
"title": "$:/plugins/tiddlywiki/markdown/remarkable-katex.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"
|
|
},
|
|
{
|
|
"file": "remarkable-katex-license.txt",
|
|
"fields": {
|
|
"type": "text/plain",
|
|
"title": "$:/plugins/tiddlywiki/markdown/remarkable-katex-license"
|
|
}
|
|
}
|
|
]
|
|
}
|