FormidableLabs / prism-react-renderer

🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)
MIT License
1.85k stars 152 forks source link

add support for Solidity language #133

Closed znwhite closed 7 months ago

znwhite commented 2 years ago

It would be great if one of the languages we can pass is "sol" or "solidity". Solidity syntax highlighting would come in really handy for a blog post I am currently writing. Thanks!

PaulRBerg commented 2 years ago

Commenting to cast my support. As of writing this comment, Solidity is among the fastest-growing programming language in the world.

nicochatzi commented 2 years ago

PrismJS has solidity syntax 🎉 You can add it by following the steps in the FAQ