Right now we are using https://github.com/FormidableLabs/prism-react-renderer to do code highlighting but we don't switch "highlighting modes" depending on file type. We have discussed that we should make a mapping of file extension to supported languages.
Right now we are using https://github.com/FormidableLabs/prism-react-renderer to do code highlighting but we don't switch "highlighting modes" depending on file type. We have discussed that we should make a mapping of file extension to supported languages.
Languages supported in
prism-react-renderer
: https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/vendor/prism/includeLangs.js