MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / span

Function span

src/lib/codeToHtml.ts:25–28  ·  view source on GitHub ↗
(node, line, col)

Source from the content-addressed store, hash-verified

23 transformers: [
24 {
25 span(node, line, col) {
26 node.properties['data-token'] = `token:${line}:${col}`
27 node.properties['class'] = `${node.properties['class']} text-wrap`
28 },
29 },
30 ],
31 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected