Updates to KaTeX plugin

This commit is contained in:
Jermolene 2014-09-22 10:41:12 +01:00
parent 96b7d0eeba
commit 3a43de2272
3 changed files with 15 additions and 0 deletions

View File

@ -98,6 +98,16 @@ node ./tiddlywiki.js \
#
######################################################
# /plugins/tiddlywiki/katex/index.html Demo wiki with KaTeX plugin
# /plugins/tiddlywiki/katex/empty.html Empty wiki with KaTeX plugin
node ./tiddlywiki.js \
./editions/katexdemo \
--verbose \
--output $TW5_BUILD_OUTPUT \
--rendertiddler $:/core/save/all plugins/tiddlywiki/katex/index.html text/plain \
--rendertiddler $:/core/save/empty plugins/tiddlywiki/katex/empty.html text/plain \
|| exit 1
# /plugins/tiddlywiki/tahoelafs/index.html Demo wiki with Tahoe-LAFS plugin
# /plugins/tiddlywiki/tahoelafs/empty.html Empty wiki with Tahoe-LAFS plugin
node ./tiddlywiki.js \

View File

@ -2,6 +2,10 @@ title: HelloThere
This is a TiddlyWiki plugin for mathematical typesetting based on KaTeX from Khan Academy.
It is completely self-contained, and doesn't need an Internet connection in order to work.
//This first version of the plugin cannot be used to generate static content under Node.js, but that capability will come in a future update. (Note that you can still use it when running the client-server configuration under Node.js).//
! Installation
To add the plugin to your own TiddlyWiki5, just drag this link to the browser window:

View File

@ -27,3 +27,4 @@ These definitions are currently removed manually from [[$:/plugins/tiddlywiki/ka
}
```
Note that the plugin currently only embeds the WOFF format fonts, which seems to be sufficient for most browsers.