7

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

0

You must log in to answer this question.

Browse other questions tagged .