I don't think this is currently possible in Quarto but it would be great if there were code block options to add HTML attributes to code blocks and code block output similar to knitr's `class.source`, `class.output` or `attr.source`, `attr.output`.
2022-07-29T16:44:31Z
mivalek
closed
FR: add source/output attributes/class option to code blocks
https://github.com/quarto-dev/quarto-cli/issues/1581