Closed AishwaryaMurade closed 1 year ago
You can manually add it from the main prismjs
package (this is detailed here: https://github.com/FormidableLabs/prism-react-renderer#custom-language-support):
npm install prismjs
and then:
(typeof global !== "undefined" ? global : window).Prism = Prism
require("prismjs/components/prism-python")
It does not support python language