2 Comments
User's avatar
Brian Repko's avatar

https://quarto.org/docs/output-formats/html-code.html#copy-button

Good practice to turn on the copy button on quarto documents

Stephen D. Turner's avatar

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.