mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 14:38:39 +00:00
feat: support MathML \big, \bigg, \Big, and \Bigg (#2332)
* Support MathML \big, \bigg, etc * Add stretchy attribute * Update mathml-spec.js.snap Co-authored-by: ylemkimon <y@ylem.kim>
This commit is contained in:
@@ -124,6 +124,10 @@ defineFunction({
|
||||
node.setAttribute("fence", "false");
|
||||
}
|
||||
|
||||
node.setAttribute("stretchy", "true");
|
||||
node.setAttribute("minsize", delimiter.sizeToMaxHeight[group.size] + "em");
|
||||
node.setAttribute("maxsize", delimiter.sizeToMaxHeight[group.size] + "em");
|
||||
|
||||
return node;
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user