(tree, expression, settings)
| 7017 | }; |
| 7018 | |
| 7019 | const buildTree = function buildTree(tree, expression, settings) { |
| 7020 | const options = optionsFromSettings(settings); |
| 7021 | const mathMLNode = buildMathML(tree, expression, options); |
| 7022 | const htmlNode = buildHTML(tree, options); |
| 7023 | const katexNode = buildCommon.makeSpan(["katex"], [mathMLNode, htmlNode]); |
| 7024 | return displayWrap(katexNode, settings); |
| 7025 | }; |
| 7026 | const buildHTMLTree = function buildHTMLTree(tree, expression, settings) { |
| 7027 | const options = optionsFromSettings(settings); |
| 7028 | const htmlNode = buildHTML(tree, options); |
no test coverage detected