(name: string)
| 270 | } |
| 271 | |
| 272 | export function isSpecialCodeblock(name: string): { |
| 273 | valid: boolean; |
| 274 | kind?: string; |
| 275 | } { |
| 276 | if (specialCodeblocks.has(name.toLowerCase())) { |
| 277 | return { valid: true, kind: name.toLowerCase() }; |
| 278 | } |
| 279 | return { valid: false }; |
| 280 | } |