alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
702 stars 89 forks source link

Update highlight.js to support Solidity #190

Open pepuscz opened 3 years ago

pepuscz commented 3 years ago

I see that highlight.js supports Solidity (https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md) but it's not selectable in Code Blocks.

Can you please check why it's not working?

pash7ka commented 2 years ago

I guess that's because highlight.js does not support Solidity natively, but via highlightjs-solidity package.

I would love to have Solidity supported. If needed, i can make a PR adding it ( i guess i will need to add the highlightjs-solidity to package.json and to the client/sidebar.js)