Hi @abcoathup,
Please try this theme component: https://github.com/pmusaraj/discourse-highlight.js-solidity
I had to build Highlight.JS with the solidity language and then use the generated minimized language in Discourse. Step-by-step details in the component’s readme.