# GCODE highlighting is not included by default

**URL:** <https://meta.discourse.org/t/gcode-highlighting-is-not-included-by-default/80143>\
**Category:** Product Support\
**Created:** [9 בפברואר,‏ 2018,‏ 12:02am UTC](https://meta.discourse.org/t/gcode-highlighting-is-not-included-by-default/80143 "2018-02-09T00:02:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![filip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/filip/32/70415_2.png) [@filip](https://meta.discourse.org/u/filip)\
**Post date:** [9 בפברואר,‏ 2018,‏ 12:02am UTC](https://meta.discourse.org/t/gcode-highlighting-is-not-included-by-default/80143/1 "2018-02-09T00:02:43Z")

</div>

Hi,

### Trouble

.gcode highlighting is confused, even though [gcode is a supported language in highlight.js](https://github.com/isagalaev/highlight.js/blob/master/src/languages/gcode.js).

### A simple test

auto language selection (maybe some sort of C? )

```plaintext
M117 Heating Up ; write heating up
M190 S30 ; heat up the bed to 30°C and hold

```

ruby specified (yay. this is to show that forced language selection does something)

```ruby
M117 Heating Up ; write heating up
M190 S30 ; heat up the bed to 30°C and hold

```

gcode specified (nay, it looks like the auto-select, and it ain’t right.)

```gcode
M117 Heating Up ; write heating up
M190 S30 ; heat up the bed to 30°C and hold

```

### thus

Is there some test I can do to see whether this is on Discourse side or Highlight.js side?  
(And then, what would that mean…)

---

_[View the full topic](https://meta.discourse.org/t/gcode-highlighting-is-not-included-by-default/80143)._
