(path)
| 101 | } |
| 102 | |
| 103 | export const getCodeLanguageByPath = (path) => |
| 104 | normalizeCodeLanguage(CODE_LANGUAGE_MAP[getPreviewFileExtension(path)] || '') |
| 105 | |
| 106 | export const isHtmlPreview = (path) => HTML_EXTENSIONS.has(getPreviewFileExtension(path)) |
nothing calls this directly
no test coverage detected