MCPcopy Index your code
hub / github.com/deepnote/deepnote / stripMarkdown

Function stripMarkdown

packages/blocks/src/markdown.ts:32–38  ·  view source on GitHub ↗
(block: DeepnoteBlock)

Source from the content-addressed store, hash-verified

30}
31
32export function stripMarkdown(block: DeepnoteBlock): string {
33 if (isTextBlock(block)) {
34 return stripMarkdownFromTextBlock(block)
35 }
36
37 throw new UnsupportedBlockTypeError(`Stripping markdown from block type ${block.type} is not supported yet.`)
38}

Callers 1

markdown.test.tsFile · 0.90

Calls 2

isTextBlockFunction · 0.90

Tested by

no test coverage detected