(value: string)
| 39 | } |
| 40 | |
| 41 | const codeSpan = (value: string): string => { |
| 42 | const delimiter = backtickDelimiter(value, 1) |
| 43 | const content = value.startsWith("`") || value.endsWith("`") ? ` ${value} ` : value |
| 44 | return `${delimiter}${content}${delimiter}` |
| 45 | } |
| 46 | |
| 47 | const escapeMarkdownText = (value: string): string => value.replace(/\\/g, "\\\\").replace(/[~<>*_]/g, "\\$&") |
| 48 |
no test coverage detected