Easy way to change preformatted text (code) button?

How is this supposed to work?

You click the preformatted text button:

You get some highlighted text like this:

What are you supposed to do there? I’m assuming there is some method that was designed, right?


What if when you clicked the Code button, you were presented with this?

Then you just paste your code in and everything looks great. Obviously it doesn’t have to have cpp by default, but that could be an option.

4 Likes