(block: MarkdownContentBlockType)
| 37 | } |
| 38 | |
| 39 | function makeMarkdownWaveBlockKey(block: MarkdownContentBlockType): string { |
| 40 | return `${block.type}[${block.id}]`; |
| 41 | } |
| 42 | |
| 43 | export function transformBlocks(content: string): { content: string; blocks: Map<string, MarkdownContentBlockType> } { |
| 44 | const lines = content.split("\n"); |