# Triple back-tick button in the editor

**URL:** https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310
**Category:** Feature
**Created:** [April 7, 2015, 6:49pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310 "2015-04-07T18:49:38Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![jayfella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jayfella/32/115848_2.png) [@jayfella](https://meta.discourse.org/u/jayfella)
#### Post date: [April 7, 2015, 6:49pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/1 "2015-04-07T18:49:38Z")

</div>

Would it be possible at all to add a button to the editor for users to post code (three back-ticks)? Our website at [jmonkeyengine.org](http://jmonkeyengine.org) relies heavily on users posting code to help with their issues, and it’s become something of a pet hate seeing code put in every tag possible except the correct one.

If it can be done via some sort of plugin or amendment, please do throw me a bone and i’ll happily implement it, if only for my waning sanity.

---

<div class="post-metadata">

### Author: ![TechnoBear](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/technobear/32/40546_2.png) [@TechnoBear](https://meta.discourse.org/u/TechnoBear)
#### Post date: [April 7, 2015, 6:56pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/2 "2015-04-07T18:56:31Z")

</div>

The editor already has the \</\> button for code. (Personally, I don’t like it as it requires highlighting the code and then using the button, and I find it easier to manually insert the backticks, but that’s just me.) If your members are not using that, is there much hope of them using another?

(And you have my sympathy - we have a similar problem.)

---

<div class="post-metadata">

### Author: ![jayfella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jayfella/32/115848_2.png) [@jayfella](https://meta.discourse.org/u/jayfella)
#### Post date: [April 7, 2015, 7:10pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/3 "2015-04-07T19:10:36Z")

</div>

That button is for pre-formatted text, and we (albeit niche-ly) greatly prefer highlighted code. I do see your point, but trying to explain which type of tick to use, ( ` or ’ or - or some other types) gets confusing because it’s not in the same place on every keyboard around the world and it’s not easily distinguishable from the others. Is it possible at all to add your own buttons, or is this a planned feature maybe?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [April 7, 2015, 8:21pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/4 "2015-04-07T20:21:16Z")

</div>

There’s a site setting to apply highlighting to all preformatted text blocks, which it sounds like may be appropriate for you.

---

<div class="post-metadata">

### Author: ![jayfella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jayfella/32/115848_2.png) [@jayfella](https://meta.discourse.org/u/jayfella)
#### Post date: [April 7, 2015, 9:14pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/5 "2015-04-07T21:14:55Z")

</div>

Thanks @riking - that setting slipped right past me. I’ve enabled it for now to see if it at least alleviates the issue. Much appreciated.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [April 7, 2015, 10:42pm UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/6 "2015-04-07T22:42:53Z")

</div>

It should ease the problem, but don’t set your hopes too high of it completely solving the problem :sadpanda:

I’ve been trying the “education” route with the below “clippings”, but even then some members just don’t seem to get it time after time even when they are no longer New, and from what I’ve heard, some keyboards don’t have a backtick character

> EDIT  
> This post has been reformatted by enclosing the code block in 3 backticks  
> ```  
> on their own lines.

* * *

> EDIT  
> This post has been reformatted by enclosing the inline code with backticks  
> `  
> before and after the code.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [April 8, 2015, 5:44am UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/7 "2015-04-08T05:44:55Z")

</div>

Cheers riking, that one slipped by me too. Most useful of all would be this though:

[https://meta.discourse.org/t/syntax-highlighting-of-code-blocks/7242/24?u=erlend\_sh](https://meta.discourse.org/t/syntax-highlighting-of-code-blocks/7242/24)

---

<div class="post-metadata">

### Author: ![Sailsman63](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@Sailsman63](https://meta.discourse.org/u/Sailsman63)
#### Post date: [February 18, 2016, 1:18am UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/8 "2016-02-18T01:18:56Z")

</div>

Did this ever happen? It came up on [www.hub.jmonkeyengine.org](http://www.hub.jmonkeyengine.org) again yesterday. Apparently, some users have had the pre-formatted button strip out things like extra newlines, etc.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:35am UTC](https://meta.discourse.org/t/triple-back-tick-button-in-the-editor/27310/9 "2025-12-04T11:35:50Z")

</div>


