mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-10 13:38:39 +00:00
leqno and fleqn support (#1814)
* leqno support * Add fleqn support * Add tests * Lint fix * Add leqno and fleqn to website demo
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
demoInput.value = data.code;
|
||||
}
|
||||
|
||||
var katexOptions = ["displayMode", "throwOnError", "errorColor", "strict",
|
||||
"macros"].map(function(id) {
|
||||
var katexOptions = ["displayMode", "leqno", "fleqn", "throwOnError",
|
||||
"errorColor", "strict", "macros"].map(function(id) {
|
||||
var el = document.getElementById(id);
|
||||
if (el.type === "checkbox") {
|
||||
if (typeof data[id] === "boolean") {
|
||||
|
Reference in New Issue
Block a user