// Value can be a mode string or a function that will receive the code content & return the mode string.
// The function option is used in the event the exact mode could be dynamic depending on the code.
const modeMap = {
+ bash: 'shell',
css: 'css',
c: 'text/x-csrc',
java: 'text/x-java',
shell: 'shell',
sh: 'shell',
stext: 'text/x-stex',
- bash: 'shell',
toml: 'toml',
ts: 'text/typescript',
typescript: 'text/typescript',