Tweeted By @apreshill
TIL you can embed a "code download" button in an HTML #rmarkdown doc so that users can click to download your source .Rmd from the rendered HTML version...without GitHub 🤩 #rstats
— Alison Hill (@apreshill) March 22, 2019
YAML:
---
output:
html_document:
code_download: true
---
Test: https://t.co/bp7w7XKF8b pic.twitter.com/uMQK0mvYcF