MCPcopy Create free account
hub / github.com/TruthHun/BookStack / render

Function render

static/katex/katex.mjs:15951–15955  ·  view source on GitHub ↗
(expression, baseNode, options)

Source from the content-addressed store, hash-verified

15949 * given.
15950 */
15951let render = function render(expression, baseNode, options) {
15952 baseNode.textContent = "";
15953 const node = renderToDomTree(expression, options).toNode();
15954 baseNode.appendChild(node);
15955}; // KaTeX's styles don't work properly in quirks mode. Print out an error, and
15956// disable rendering.
15957
15958

Callers 6

renderListFunction · 0.50
renderListFunction · 0.50
renderListFunction · 0.50
renderListFunction · 0.50
renderListFunction · 0.50
renderListFunction · 0.50

Calls 2

renderToDomTreeFunction · 0.85
toNodeMethod · 0.45

Tested by

no test coverage detected