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

Method withTextFontShape

static/katex/katex.mjs:5019–5024  ·  view source on GitHub ↗

* Creates a new options object with the given font weight

(fontShape)

Source from the content-addressed store, hash-verified

5017
5018
5019 withTextFontShape(fontShape) {
5020 return this.extend({
5021 fontShape,
5022 font: ""
5023 });
5024 }
5025 /**
5026 * Return the CSS sizing classes required to switch from enclosing options
5027 * `oldOptions` to `this`. Returns an array of classes.

Callers 3

optionsWithFontFunction · 0.80
optionsWithFontFunction · 0.80
YrFunction · 0.80

Calls 1

extendMethod · 0.95

Tested by

no test coverage detected