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

Function renderToString

static/katex/katex.mjs:15973–15976  ·  view source on GitHub ↗
(expression, options)

Source from the content-addressed store, hash-verified

15971
15972
15973const renderToString = function renderToString(expression, options) {
15974 const markup = renderToDomTree(expression, options).toMarkup();
15975 return markup;
15976};
15977/**
15978 * Parse an expression and return the parse tree.
15979 */

Callers

nothing calls this directly

Calls 2

renderToDomTreeFunction · 0.85
toMarkupMethod · 0.45

Tested by

no test coverage detected