Overriding individual code chunk options

Author

Charlie Hadley

Published

June 20, 2022

I’ve just moved this entire blog from {blogdown} to {quarto}. It was mostly simple but for one of the blogposts I really wanted a way to override individual code chunk options.

---
output: html_document
---
  
```{r}
2+2

```

Reuse

Citation

BibTeX citation:
@online{hadley2022,
  author = {Charlie Hadley},
  title = {Overriding Individual Code Chunk Options},
  date = {2022-06-20},
  url = {https://visibledata.co.uk/posts/2022-06-20_overriding-individual-code-chunk-options},
  langid = {en}
}
For attribution, please cite this work as:
Charlie Hadley. 2022. “Overriding Individual Code Chunk Options.” June 20, 2022. https://visibledata.co.uk/posts/2022-06-20_overriding-individual-code-chunk-options.