Open alisonjoseph opened 4 months ago
Pulled from: https://github.com/carbon-design-system/gatsby-theme-carbon/issues/1439#issuecomment-2018600672
Supported languages https://prismjs.com/#supported-languages
Any additional languages now need to be added manually only include these base languages by default: https://github.com/FormidableLabs/prism-react-renderer/blob/c914fdea48625ba59c8022174bb3df1ed802ce4d/packages/generate-prism-languages/index.ts#L9-L23
"jsx", "tsx", "swift", "kotlin", "objectivec", "js-extras", "reason", "rust", "graphql", "yaml", "go", "cpp", "markdown",
I would welcome bash to be added to keep the backwards compatibility from v4, as you have already mentioned.
Pulled from: https://github.com/carbon-design-system/gatsby-theme-carbon/issues/1439#issuecomment-2018600672
Supported languages https://prismjs.com/#supported-languages
Any additional languages now need to be added manually only include these base languages by default: https://github.com/FormidableLabs/prism-react-renderer/blob/c914fdea48625ba59c8022174bb3df1ed802ce4d/packages/generate-prism-languages/index.ts#L9-L23