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

Triple-backtick code blocks don't get blockquoted correctly

$
0
0

Suppose I have a code block like this contrived pseudocode:

```Here {  is}my code```

When I select the whole block including the backticks and then use try to blockquote it using the button or Ctrl+Q, the block collapses into this:

> ``` Here {   is }> > my code ```

I expect blockquoting to preserve each line of code like this (and to make sure the triple backticks are on their own lines):

> ```> Here {>   is> }> > my code> ```

Note that blockquotes work correctly with code blocks that use indenting instead of backticks:

>     Here {>       is>     }>     >     my code

Viewing all articles
Browse latest Browse all 180

Trending Articles



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