Closed rgaiacs closed 1 year ago
Consider the mwe.Rmd
:
---
title: MWE
author: Raniere
---
Foo
```{r}
1 + 1
Bar
`Rscript -e "rmarkdown::render('mwe.Rmd', rmarkdown::md_document())"` produces
Foo
1 + 1
## [1] 2
Bar
`Rscript -e "rmarkdown::render('mwe.Rmd', rmarkdown::md_document(variant='commonmark'))"` produces
Foo
1 + 1
## [1] 2
Bar
`Rscript -e 'library(knitr); knitr::opts_chunk$set(comment = NA); rmarkdown::render("mwe.Rmd", rmarkdown::md_document(variant="commonmark"))'` produces
Foo
1 + 1
[1] 2
Bar
The issue is on pkgdown
and I didn't find a easy way to pass the arguments down stream.
R Markdown
Quarto