This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |