# Code Fences Highlighting Buttons Plugin

**URL:** <https://meta.discourse.org/t/code-fences-highlighting-buttons-plugin/46661>\
**Category:** Plugin\
**Created:** [30. Juni 2016 um 12:43 UTC](https://meta.discourse.org/t/code-fences-highlighting-buttons-plugin/46661 "2016-06-30T12:43:58Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Mazzen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mazzen/32/121178_2.png) [@Mazzen](https://meta.discourse.org/u/Mazzen)\
**Post date:** [30. Juni 2016 um 12:43 UTC](https://meta.discourse.org/t/code-fences-highlighting-buttons-plugin/46661/1 "2016-06-30T12:43:58Z")

</div>

Hey guys,  
I’ve created a plugin for Discourse, which adds additional code fences and syntax highlighting buttons to the composer toolbar.  
The plugin, documentation and all future updates can be found here: [GitHub - ThomDietrich/discourse-plugin-code-fences-buttons: Discourse Plugin: Code Fences Buttons (cfbtn) · GitHub](https://github.com/ThomDietrich/discourse-plugin-code-fences-buttons)

 ![](https://global.discourse-cdn.com/meta/original/3X/b/0/b0047de713ec30219e443f7a48b72178318af385.png)

The available buttons in your toolbar are configured through the plugin settings. Currently there is one javascript option and one with free to choose syntax highlighting. Options are easily extendable, just duplicate one of the two. Pull requests welcome!

---

_[View the full topic](https://meta.discourse.org/t/code-fences-highlighting-buttons-plugin/46661)._
