Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 589 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 589 Bytes

discourse-highlight.js-solidity

This is a Discourse theme component that enables the Solidity language for Highlight.js.

How I made this

function(hljs) {
...
}
  • Ran node tools/build.js -t cdn none to generate the minimized lang file for Solidity.
  • Took that minimized function and fed it to Discourse's api.registerHighlightJSLanguage.