Actually update katex
This commit is contained in:
parent
af0522b8cf
commit
5b56af6c06
2
lib/katex/katex.min.js
vendored
2
lib/katex/katex.min.js
vendored
File diff suppressed because one or more lines are too long
2
main.js
2
main.js
|
@ -1,7 +1,7 @@
|
|||
window.startup = function() {
|
||||
var tex = document.getElementsByClassName("tex");
|
||||
Array.prototype.forEach.call(tex, function(el) {
|
||||
katex.process(el.getAttribute("data-expr"), el);
|
||||
katex.render(el.getAttribute("data-expr"), el);
|
||||
});
|
||||
|
||||
var demoInput = document.getElementById("demo-input");
|
||||
|
|
Loading…
Reference in New Issue
Block a user