hadley / r4ds

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

Correct display of embracing operator #1675

Open capnrefsmmat opened 1 month ago

capnrefsmmat commented 1 month 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.)