MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / hasMarkdown

Function hasMarkdown

cli/src/utils/markdown-renderer.tsx:1027–1029  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

1025}
1026
1027export function hasMarkdown(content: string): boolean {
1028 return /[*_`#>\-\+]|\[.*\]\(.*\)|```/.test(content)
1029}
1030
1031export function hasIncompleteCodeFence(content: string): boolean {
1032 let fenceCount = 0

Callers 3

renderStreamingMarkdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected