blogdown-shortcodes/downloads/example.Rmd

13 lines
329 B
Plaintext
Raw Normal View History

2023-05-07 04:13:37 +00:00
---
yaml: here
---
```{r, include=FALSE}
source("../../static/download.R", local = knitr::knit_global())
```
# This example isn't perfect
You need to make sure the source-link points to where you have the R file located. This one is in the main static-page, but depends on the Rmd file being in /content/blog/
`r download(1)`