mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
* Implement correct macros for liminf and limsup, fixes #111 * fix nits
This commit is contained in:
@@ -21,7 +21,9 @@ function init() {
|
||||
}
|
||||
|
||||
var macros = {};
|
||||
var options = {};
|
||||
// TODO: Add toggle for displayMode.
|
||||
// https://github.com/Khan/KaTeX/issues/1035
|
||||
var options = {displayMode: true};
|
||||
var macroRegex = /(?:^\?|&)(?:\\|%5[Cc])([A-Za-z]+)=([^&]*)/g;
|
||||
var macroString = "";
|
||||
while ((match = macroRegex.exec(window.location.search)) !== null) {
|
||||
|
Reference in New Issue
Block a user