MCPcopy Index your code
hub / github.com/Hexlet/patterns / newHighlight

Function newHighlight

content/adapter/javascript/function/index.js:5–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4const code = "const x = '5';";
5const newHighlight = code => highlight({}, code);
6const html = codeToHtml(code, newHighlight);
7console.log(html);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…