The discussion revolves around implementing Solidity syntax highlighting in a hosted Discourse forum. abcoathup inquires about integrating Solidity support, noting it’s not in the main highlight.js repository but has a separate repo (highlightjs/highlightjs-solidity). sam suggests contributing to highlight.js or using a custom repo, but acknowledges uncertainty due to lack of response from GitHub. pmusaraj offers a solution via a theme component that includes the Solidity language, which can be installed without plugins. rishabh clarifies that the component is installable via themes. abcoathup confirms the solution works, achieving Solidity syntax highlighting.
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.
This isn’t a plugin, it’s a theme component that you can add to an existing theme. You are free to install themes and theme-components by yourself using these instructions: Installing a theme or theme component