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

Function isMarkdownContentType

sdk/src/tools/read-url.ts:258–260  ·  view source on GitHub ↗
(contentType: string)

Source from the content-addressed store, hash-verified

256}
257
258function isMarkdownContentType(contentType: string): boolean {
259 return contentType.includes('text/markdown')
260}
261
262function isSupportedContentType(contentType: string): boolean {
263 return /^(text\/|application\/(json|[^;\s/]+\+json|xhtml\+xml|xml|rss\+xml|atom\+xml)\b)/i.test(

Callers 1

extractTextByContentTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected