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

Method toNode

static/katex/katex.mjs:908–916  ·  view source on GitHub ↗

Convert the fragment into a node.

()

Source from the content-addressed store, hash-verified

906
907
908 toNode() {
909 const frag = document.createDocumentFragment();
910
911 for (let i = 0; i < this.children.length; i++) {
912 frag.appendChild(this.children[i].toNode());
913 }
914
915 return frag;
916 }
917 /** Convert the fragment into HTML markup. */
918
919

Callers

nothing calls this directly

Calls 1

toNodeMethod · 0.45

Tested by

no test coverage detected