(block: MarkdownContentBlockType)
| 17 | const idMatchRe = /^("(?:[^"\\]|\\.)*")/; |
| 18 | |
| 19 | function formatInlineContentBlock(block: MarkdownContentBlockType): string { |
| 20 | return `!!!${block.type}[${block.id}]!!!`; |
| 21 | } |
| 22 | |
| 23 | function parseOptions(str: string): Record<string, any> { |
| 24 | const trimmed = str.trim(); |