Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hashnode/starter-kit
/ addText
Method
addText
packages/utils/renderer/highlight.js:198–200 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
196
''
!== e && (this.openNode(n), this.addText(e), this.closeNode());
197
}
198
addText(e) {
199
''
!== e && this.add(e);
200
}
201
addSublanguage(e, n) {
202
const
t = e.root;
203
(t.kind = n), (t.sublanguage = !0), this.add(t);
Callers
1
addKeyword
Method · 0.95
Calls
1
add
Method · 0.80
Tested by
no test coverage detected