(text: string)
| 91 | } |
| 92 | |
| 93 | function escapeMarkdown(text: string): string { |
| 94 | return text.replace(/([\\`*_{}[\]()#+\-.!|>])/g, '\\$1') |
| 95 | } |
| 96 | |
| 97 | export function createMarkdownForTextBlock(block: TextBlock): string { |
| 98 | const content = block.content ?? '' |
no outgoing calls
no test coverage detected