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

Function makeLineSpan

static/katex/katex.js:5630–5636  ·  view source on GitHub ↗
(className, options, thickness)

Source from the content-addressed store, hash-verified

5628};
5629
5630var makeLineSpan = function makeLineSpan(className, options, thickness) {
5631 var line = buildCommon_makeSpan([className], [], options);
5632 line.height = thickness || options.fontMetrics().defaultRuleThickness;
5633 line.style.borderBottomWidth = line.height + "em";
5634 line.maxFontSize = 1.0;
5635 return line;
5636};
5637/**
5638 * Makes an anchor with the given href, list of classes, list of children,
5639 * and options.

Callers

nothing calls this directly

Calls 2

buildCommon_makeSpanFunction · 0.85
fontMetricsMethod · 0.80

Tested by

no test coverage detected