1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00
This commit is contained in:
Jermolene 2018-12-01 13:59:08 +00:00
parent 63031bb3fc
commit 8c367cdb21

View File

@ -13,7 +13,7 @@ Wrapper for `katex.min.js` that provides a `<$latex>` widget. It is also availab
"use strict";
var katex = require("$:/plugins/tiddlywiki/katex/katex.min.js"),
parseChem = require("$:/plugins/tiddlywiki/katex/mhchem.min.js"),
chemParse = require("$:/plugins/tiddlywiki/katex/mhchem.min.js"),
Widget = require("$:/core/modules/widgets/widget.js").widget;
// Add \ce, \pu, and \tripledash to the KaTeX macros.
katex.__defineMacro("\\ce", function(context) {