# Add support for hljs aliases for code hints

**URL:** https://meta.discourse.org/t/add-support-for-hljs-aliases-for-code-hints/81298
**Category:** Feature
**Tags:** pr-welcome
**Created:** [2월 23, 2018, 10:52오전 UTC](https://meta.discourse.org/t/add-support-for-hljs-aliases-for-code-hints/81298 "2018-02-23T10:52:19Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 24, 2018, 12:15오전 UTC](https://meta.discourse.org/t/add-support-for-hljs-aliases-for-code-hints/81298/11 "2018-02-24T00:15:15Z")

</div>

If we wanted a special case it belongs here

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/engines/discourse-markdown/code.js.es6](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/pretty-text/engines/discourse-markdown/code.js.es6)

But making auto work better is probably a better first approach, if your site is all about js you can just default to it

---

_[View the full topic](https://meta.discourse.org/t/add-support-for-hljs-aliases-for-code-hints/81298)._
