When including a quote with a code block, it will not render correctly unless the quote starts with an extra newline character. For example, the following will display correctly:
[quote="abarker"]
Sample quote 1, without any code.
[/quote]
However, insert a code block into the quote, and things will become problemeatic.
[quote="abarker"]
Sample quote 2, with a small code block.
```
n = 2;
```
This will not work
[/quote]
Then again, if you add an extra line break to the beginning of the quote, it starts working again:
[quote="abarker"]
Sample quote 3, with a small code block.
```
n = 2;
```
This will work
[/quote]
If the quote only consists of code, I’ve found adding an extra line has no effect to fix formatting. But inserting two backticks before the code block, and none after it, works.
A single backtick will fix the #, but shows up in the code.
Esto parece haber retrocedido. Si se cita un bloque de código junto con una línea de texto que no es código, el formato del bloque de código se conserva. Si se cita un bloque de código por sí solo, el formato no se conserva.