Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hashnode/starter-kit
/ openNode
Method
openNode
packages/utils/renderer/highlight.js:128–132 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
126
this.buffer += t(e);
127
}
128
openNode(e) {
129
if
(!o(e))
return
;
130
let
n = e.kind;
131
e.sublanguage || (n = `${this.classPrefix}${n}`), this.span(n);
132
}
133
closeNode(e) {
134
o(e) && (this.buffer += s);
135
}
Callers
4
_walk
Method · 0.45
addKeyword
Method · 0.45
h
Function · 0.45
b
Function · 0.45
Calls
2
span
Method · 0.95
o
Function · 0.70
Tested by
no test coverage detected