Closed
Description
Bug description
From https://github.com/quarto-ext/code-filename/issues/3 but extensions has been included inside core now.
---
title: Test
format: html
---
Non computation code filename
```{.r filename="file.R"}
1 + 1
```
Inside code-fold
```{r filename="file.R"}
#| code-fold: true
1 + 1
```
Do we want to support filename on computational chunk ? (which does not follow the YAML in chunk syntax)
If not, we should deactivate.
If we do, we maybe to introduce as YAML option and/or put the filename inside the folding of source.
Related Discussion item: #2642
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.

Activity
jjallaire commentedon Oct 4, 2022
Deferring this until we have a better handle on order of AST transformations. I'm not 100% sure what the "correct" behavior is here (i.e. which should compose on the other, whether we should allow both, etc.).
cscheid commentedon Jun 14, 2023
(I'm working on this right now)
In addition, we should support a way for the input of a computational cell to be a code listing in and of itself.