hadley / r4ds

R for data science: a book
http://r4ds.hadley.nz
Other
4.59k stars 4.22k forks source link

Correct display of embracing operator #1675

Open capnrefsmmat opened 4 months ago

capnrefsmmat commented 4 months ago

Quarto supports inline code using the backtick operator 1, using backticks and curly quotes to specify the engine. Because of this, {{ }} is apparently parsed as inline code and renders as { }. An extra level of curly braces must be added to display the embracing operator in the text.

(I suppose this could also be considered a Quarto bug, since their parser is treating this as inline code when it clearly isn't. But this is an easy solution.)