Backtick code formatting helper

I’d like to suggest a button for creating the set of backticks for a code block, or if it’s already there, make it more prominent.

I’ve noticed that newcomers have trouble using code blocks, even though the help post template comes with one - this might alleviate that. There is a button for blockquote, so why not code block?

1 Like

It exists, but on mobile it’s genuinely so hidden it’s kind of a joke.

2 Likes

This is a very good example of why the UI needs to change:

I used this new guy’s post as reference twice today. But it’s SO relevant! That guy got super unlucky.

Image for posterity:

It’s equally hidden on desktop, and “preformatted text” isn’t the menu item I’d be looking for - maybe putting it among the default buttons (I think it trumps blockquote in importance) and calling it “code” instead?

1 Like

I’d love to see it add “gd” to the top so the code is formatted prettily.

```gd
# This looks much better
```

1 Like