(ext: string)
| 140 | } |
| 141 | |
| 142 | function getMarkdownLanguage(ext: string): string { |
| 143 | return MARKDOWN_LANGUAGE_ALIASES[ext] ?? ext; |
| 144 | } |
| 145 | |
| 146 | export function createFencedCodeBlock(content: string, ext: string): string { |
| 147 | const markdownLanguage = getMarkdownLanguage(ext); |
no outgoing calls
no test coverage detected