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

Function optionsFromSettings

static/katex/katex.mjs:6994–6999  ·  view source on GitHub ↗
(settings)

Source from the content-addressed store, hash-verified

6992}
6993
6994const optionsFromSettings = function optionsFromSettings(settings) {
6995 return new Options({
6996 style: settings.displayMode ? Style$1.DISPLAY : Style$1.TEXT,
6997 maxSize: settings.maxSize
6998 });
6999};
7000
7001const displayWrap = function displayWrap(node, settings) {
7002 if (settings.displayMode) {

Callers 2

buildTreeFunction · 0.85
buildHTMLTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected