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

Function makeAnchor

static/katex/katex.mjs:5612–5616  ·  view source on GitHub ↗
(href, classes, children, options)

Source from the content-addressed store, hash-verified

5610
5611
5612const makeAnchor = function makeAnchor(href, classes, children, options) {
5613 const anchor = new Anchor(href, classes, children, options);
5614 sizeElementFromChildren(anchor);
5615 return anchor;
5616};
5617/**
5618 * Makes a document fragment with the given list of children.
5619 */

Callers

nothing calls this directly

Calls 1

sizeElementFromChildrenFunction · 0.70

Tested by

no test coverage detected