Skip to content

Instantly share code, notes, and snippets.

View jhrcook's full-sized avatar
🦖
Exploring!

Josh Cook jhrcook

🦖
Exploring!
View GitHub Profile
@jhrcook
jhrcook / escape_tripple_backquote.Rmd
Last active March 11, 2019 02:03
Rmarkdown triple-back quote escape
You can insert a code chunk within a code chunk in Rmarkdown as shown here. This code chunk was used in my bookdown book "Package as Analysis" to show a SublimeText3 snippet that itself inserts a code chunk
````html
<snippet>
<content><![CDATA[
`r ''````{r ${1:chunk_name}}
$0
```
]]></content>