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

Function makeSpan

static/katex/katex.mjs:5589–5593  ·  view source on GitHub ↗
(classes, children, options, style)

Source from the content-addressed store, hash-verified

5587
5588
5589const makeSpan = function makeSpan(classes, children, options, style) {
5590 const span = new Span(classes, children, options, style);
5591 sizeElementFromChildren(span);
5592 return span;
5593}; // SVG one is simpler -- doesn't require height, depth, max-font setting.
5594// This is also a separate method for typesafety.
5595
5596

Callers 4

makeLineSpanFunction · 0.85
wrapFragmentFunction · 0.85
makeVListFunction · 0.85
makeGlueFunction · 0.85

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected