(block: DeepnoteBlock)
| 30 | } |
| 31 | |
| 32 | export 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 | } |
no test coverage detected