csgillespie / efficientR

Efficient R programming: a book
https://csgillespie.github.io/efficientR/
Other
720 stars 373 forks source link

Code including quotation marks within blockquotes #276

Open engineerchange opened 4 years ago

engineerchange commented 4 years ago

This is perhaps exceptionally minor, but I noted when copy pasting code that exists within a blockquote (vs. the code blocks), that single or double quotation marks are stylised and return an error when running in R.

Rmd code:

blockquote

Rmd output:

blockquote2

Code in R: blockquote3

Not sure there's any solution better than simply taking the code out of the blockquotes. Thoughts?

Robinlovelace commented 4 years ago

Interesting one, thoughts @csgillespie ?