import bash from 'react-syntax-highlighter/dist/cjs/languages/prism/bash'; import css from 'react-syntax-highlighter/dist/cjs/languages/prism/css'; import diff from 'react-syntax-highlighter/dist/cjs/languages/prism/diff'; import javascript from 'react-syntax-highlighter/dist/cjs/languages/prism/javascript'; import json from 'react-syntax-highlighter/dist/cjs/languages/prism/json'; import jsx from 'react-syntax-highlighter/dist/cjs/languages/prism/jsx'; import less from 'react-syntax-highlighter/dist/cjs/languages/prism/less'; import markdown from 'react-syntax-highlighter/dist/cjs/languages/prism/markdown'; import tsx from 'react-syntax-highlighter/dist/cjs/languages/prism/tsx'; import typescript from 'react-syntax-highlighter/dist/cjs/languages/prism/typescript'; export const languageMap = { javascript, js: javascript, jsx, json, markdown, md: markdown, less, css, typescript, ts: typescript, tsx, diff, bash, }; export type LanguageKeys = keyof typeof languageMap;