MCPcopy Create free account
hub / github.com/api-platform/website / onVisitHighlightedLine

Function onVisitHighlightedLine

pwa/next.config.mjs:114–117  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

112 }
113 },
114 onVisitHighlightedLine(node) {
115 // Each line node by default has `class="line"`.
116 node.properties.className.push("highlighted");
117 },
118 onVisitHighlightedWord(node) {
119 // Each word node has no className by default.
120 node.properties.className = ["word"];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected