Rmarkdown and markdown notes

This contains notes for Rmarkdown and markdown. All notes for markdown are generally applicable for Rmarkdown.

markdown

Rmarkdown

Markdown extras

Adding toggle

<details><summary>toggle title</summary>
toggle content 
</details>

Image quality

knitr::opts_chunk$set(dpi=300)

Share html report

A report should be self-contained. In xaringan, set self_cotained = TRUE in yaml and download html with Chrome, not Firefox.

For DT, downloaded html from browser does not work - see here. Hence, use the rendered html directly.

Avatar
Tim

Personalizing medicine

Related