# Github now has kotlin syntax highlighting, yay!

**URL:** <https://discuss.kotlinlang.org/t/github-now-has-kotlin-syntax-highlighting-yay/1233>\
**Category:** Uncategorized\
**Created:** [March 29, 2012, 8:09am UTC](https://discuss.kotlinlang.org/t/github-now-has-kotlin-syntax-highlighting-yay/1233 "2012-03-29T08:09:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jstrachan](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/jstrachan/32/1559_2.png) [@jstrachan](https://discuss.kotlinlang.org/u/jstrachan)\
**Post date:** [March 29, 2012, 8:09am UTC](https://discuss.kotlinlang.org/t/github-now-has-kotlin-syntax-highlighting-yay/1233/1 "2012-03-29T08:09:57Z")

</div>

e.g. [https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/test/CollectionTest.kt](https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/test/CollectionTest.kt)

You can also create a gist and say its Kotlin code and get syntax highlighting…  
[http://gist.github.com/2234425](http://gist.github.com/2234425)

Hopefully soon it’ll show up in the languages page  
[http://github.com/languages](http://github.com/languages)

If you see any gremlins in the syntax highligher, its all in pygmentize, so fork this repo  
[http://bitbucket.org/birkenfeld/pygments-main](http://bitbucket.org/birkenfeld/pygments-main)

and here’s the lexer to edit  
[http://bitbucket.org/birkenfeld/pygments-main/src/f8f6f70f3ded/pygments/lexers/jvm.py#cl-733](http://bitbucket.org/birkenfeld/pygments-main/src/f8f6f70f3ded/pygments/lexers/jvm.py#cl-733)

then submit a pull request
