# Hugo now supports GitHub-flavoured markdown code fences for highlighting

**URL:** <https://discourse.gohugo.io/t/hugo-now-supports-github-flavoured-markdown-code-fences-for-highlighting/1409>\
**Category:** tips & tricks\
**Created:** [July 8, 2015, 6:42am UTC](https://discourse.gohugo.io/t/hugo-now-supports-github-flavoured-markdown-code-fences-for-highlighting/1409 "2015-07-08T06:42:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [July 8, 2015, 6:42am UTC](https://discourse.gohugo.io/t/hugo-now-supports-github-flavoured-markdown-code-fences-for-highlighting/1409/1 "2015-07-08T06:42:14Z")

</div>

Currently only for BlackFriday.

For an example and some useful Perl snippets, see:

> <https://github.com/bep/bepsays.com/commit/5bac7bd45d706b503cd27e1a8021dd238e84e92c>

Thanks to @bramp for this – added in

> <https://github.com/gohugoio/hugo/pull/1255>

---

<div class="post-metadata">

**Author:** ![Oskar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/oskar/32/439_2.png) [@Oskar](https://discourse.gohugo.io/u/Oskar)\
**Post date:** [July 12, 2015, 9:41am UTC](https://discourse.gohugo.io/t/hugo-now-supports-github-flavoured-markdown-code-fences-for-highlighting/1409/2 "2015-07-12T09:41:40Z")

</div>

Thank you!
