MCPcopy Index your code
hub / github.com/TruthHun/BookStack / mathMLnode

Function mathMLnode

static/katex/katex.mjs:7080–7084  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

7078};
7079
7080const mathMLnode = function mathMLnode(label) {
7081 const node = new mathMLTree.MathNode("mo", [new mathMLTree.TextNode(stretchyCodePoint[label.substr(1)])]);
7082 node.setAttribute("stretchy", "true");
7083 return node;
7084}; // Many of the KaTeX SVG images have been adapted from glyphs in KaTeX fonts.
7085// Copyright (c) 2009-2010, Design Science, Inc. (<www.mathjax.org>)
7086// Copyright (c) 2014-2017 Khan Academy (<www.khanacademy.org>)
7087// Licensed under the SIL Open Font License, Version 1.1.

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.95

Tested by

no test coverage detected