# 如何获取 Solidity 语法高亮

**URL:** <https://meta.discourse.org/t/how-to-get-solidity-syntax-highlighting/117774>\
**Category:** Support\
**Created:** [2019年五月15日 07:00 UTC](https://meta.discourse.org/t/how-to-get-solidity-syntax-highlighting/117774 "2019-05-15T07:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)\
**Post date:** [2019年六月26日 02:54 UTC](https://meta.discourse.org/t/how-to-get-solidity-syntax-highlighting/117774/15 "2019-06-26T02:54:48Z")

</div>

Hi @abcoathup,

Please try this theme component: [GitHub - pmusaraj/discourse-highlight.js-solidity · GitHub](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.

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-solidity-syntax-highlighting/117774)._
