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

Function sizeAtStyle

static/katex/katex.mjs:4794–4796  ·  view source on GitHub ↗
(size, style)

Source from the content-addressed store, hash-verified

47920.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.2, 1.44, 1.728, 2.074, 2.488];
4793
4794const sizeAtStyle = function sizeAtStyle(size, style) {
4795 return style.size < 2 ? size : sizeStyleMap[size - 1][style.size - 1];
4796};
4797
4798/**
4799 * This is the main options class. It contains the current style, size, color,

Callers 2

havingStyleMethod · 0.70
havingBaseStyleMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected