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

Function makeSmallDelim

static/katex/katex.mjs:8023–8032  ·  view source on GitHub ↗
(delim, style, center, options, mode, classes)

Source from the content-addressed store, hash-verified

8021
8022
8023const makeSmallDelim = function makeSmallDelim(delim, style, center, options, mode, classes) {
8024 const text = buildCommon.makeSymbol(delim, "Main-Regular", mode, options);
8025 const span = styleWrap(text, style, options, classes);
8026
8027 if (center) {
8028 centerSpan(span, options, style);
8029 }
8030
8031 return span;
8032};
8033/**
8034 * Builds a symbol in the given font size (note size is an integer)
8035 */

Callers 1

makeCustomSizedDelimFunction · 0.85

Calls 2

styleWrapFunction · 0.85
centerSpanFunction · 0.70

Tested by

no test coverage detected