Skip to content
Discourse Plugin: Code Fences Buttons (cfbtn)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial Import of Spoiler Text Plugin Nov 7, 2015
LICENSE.txt Initial Import of Spoiler Text Plugin Nov 7, 2015

Discourse Plugin: Code Fences Buttons (cfbtn)

This plugin adds buttons to your Discourse composer toolbar for inserting code fences with language-specific syntax highlighting.

Currently, there are three options implemented:

  • Buttons for OpenHAB items, rules and sitemap syntax highlighting
  • One button for JavaScript syntax highlighting
  • One custom syntax button, can be freely assigned with a language in settings

It's easy to add yet another button to create code fences or whatever you want to paste into the composer window. PRs welcome!


Admin Settings

Further information

This plugin is based on another plugin, please have a look for more details:

You can’t perform that action at this time.