Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmNudge/watlings
/ highlightWatCode
Function
highlightWatCode
web-build/src/highlight.ts:150–155 ·
view source on GitHub ↗
(code: string)
Source
from the content-addressed store, hash-verified
148
}
149
150
export
function
highlightWatCode(code: string): string {
151
return
code
152
.split(
"\n"
)
153
.map((line) => tokenizeLine(line).map(tokenToHtml).join(
""
))
154
.join(
"\n"
);
155
}
Callers
1
renderHoverMarkdown
Function · 0.90
Calls
1
tokenizeLine
Function · 0.85
Tested by
no test coverage detected