Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codebymitch/TitanBot
/ formatCodeBlock
Function
formatCodeBlock
src/utils/embeds.js:336–338 ·
view source on GitHub ↗
(content, language = '')
Source
from the content-addressed store, hash-verified
334
}
335
336
export
function
formatCodeBlock(content, language =
''
) {
337
return
`\`\`\`${language}\n${content}\n\`\`\``;
338
}
339
340
export
function
formatInlineCode(content) {
341
return
`\`${content}\``;
Callers
1
errorEmbed
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected