rstudio / rmarkdown-cookbook

R Markdown Cookbook. A range of tips and tricks to make better use of R Markdown.
https://bookdown.org/yihui/rmarkdown-cookbook/
578 stars 224 forks source link

Using embed engine to insert raw content #366

Open cderv opened 2 years ago

cderv commented 2 years ago

See https://github.com/yihui/knitr/issues/1911#issuecomment-1029617895

```{embed, file='testme.html', lang='{=html}'}
cderv commented 1 month ago

Also https://yihui.org/en/2022/01/knitr-news/#the-new-engines-comment-verbatim-and-embed