Extra newlines before quotes that start with code blocks
tocic opened this issue · comments
tocic commented
I was testing the formatting on a local server and found the following strange behaviour:
This extra newline is added in cases when we start a quote with a 5-spaced code block (e.g., 284, 297, 339). There's no such problem if the code block is in the middle of a quote (e.g., 323).
If we try to use backticks, e.g.
> ```
> R future::get();
> R& future<R&>::get();
> void future<void>::get();
> ```
, then there's no newline but the code is not highlighted. It's displayed as a set of individual lines, not a code block:
tocic commented
Anders Schau Knatten commented
I agree! I've created knatten/cppquiz#345 for this. I think we should look into that before continuing the porting, instead of going over all the questions again and switching to indentation.