Quantcast
Channel: Active questions tagged code-formatting - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 180

Should we make the {} button add ``` instead of four spaces?

$
0
0

I didn't know that the three backticks code fence feature was implemented until I asked this question.

This is a great new feature! I think the code block button in the editor (the {} button) should add three backticks as well, instead of the old four leading spaces syntax.

What I mean is this:

I have the text:

some codesome code line two

When I select that in the editor and press the code block button (or Ctrl/Cmd+K), this would happen:

```some codesome code line two```

instead of this:

    some code    some code line two

Viewing all articles
Browse latest Browse all 180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>