Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Hexlet/patterns
/ codeToHtml
Function
codeToHtml
content/adapter/javascript/function/convertors.js:7–11 ·
view source on GitHub ↗
(code, convert)
Source
from the content-addressed store, hash-verified
5
};
6
7
export
const
codeToHtml = (code, convert) => {
8
const
sanitized = sanitize(code);
9
const
html = convert(sanitized);
10
return
html;
11
};
Callers
1
index.js
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…