Yep! This works well, but for docs with many chunks spaced between narratives, the package here grabs all the chunks, separated by comment blocks. Could do something similar with knitr::purl after finding/downloading the source (if available) but the add in reduces friction a bit.
https://quarto.org/docs/output-formats/html-code.html#copy-button
Good practice to turn on the copy button on quarto documents
Yep! This works well, but for docs with many chunks spaced between narratives, the package here grabs all the chunks, separated by comment blocks. Could do something similar with knitr::purl after finding/downloading the source (if available) but the add in reduces friction a bit.