prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

add support for Solidity language

Open znwhite opened this issue 4 years ago • 2 comments
trafficstars

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!

znwhite avatar Nov 18 '21 19:11 znwhite

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

PaulRBerg avatar Dec 01 '21 10:12 PaulRBerg

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

nicochatzi avatar Jan 21 '22 07:01 nicochatzi