Easy way to change preformatted text (code) button?

Okay, we now have a site setting for this: code formatting style

Setting code formatting style to code-fences will default code button in composer to use fenced/code blocks. Example:


https://github.com/discourse/discourse/commit/83309752ae0fc224fadc73cd410dc682e7e54b3c

15 Likes