MCPcopy
hub / github.com/stackblitz/bolt.new / processCode

Function processCode

app/components/chat/CodeBlock.tsx:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 logger.trace(`Language = ${language}`);
43
44 const processCode = async () => {
45 setHTML(await codeToHtml(code, { lang: language, theme }));
46 };
47
48 processCode();
49 }, [code]);

Callers 1

CodeBlock.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected