Our book needs a small suite of R code executed at the beginning of each page, in our case called `_common.R`.

At the moment we are doing this by putting this chunk at the top of each page, as suggested in #38:

~~~
```{r setup, include=FALSE}
source("_common.R")
```
~~~

This issue is to ask for a way to specify such a file to run by default.

Bookdown allows you to do this using the `before_chapter_script` YaML configuration option : https://bookdown.org/yihui/bookdown/configuration.html 

2021-10-12T16:10:07Z
matthew-brett
Future
open
Way of specifying code file to be sourced for each page?
https://github.com/quarto-dev/quarto-cli/issues/134