Skip to content

Quarto VSCode extension does not recognize the chunk labels correctly for Rmd #686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sammo3182 opened this issue Mar 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sammo3182
Copy link

Bug description

Quarto VS Code extension seems not to be able to recognize chunk labels correctly. I initially thought it was Positron issue but then was told it is about Quarto extension. For rmarkdown files, the chuck label cannot be correctly recognized in Positron unless they are written in the quarto rather than rmarkdown style. See more details and screenshots here: posit-dev/positron#6977

Steps to reproduce

Create a rmd file as follows:


```{r abc}
"hello"
```


```{r def}
#| label: def

"hello"
```

Actual behavior

The OUTLINE in Positron shows as follows:

Image

Expected behavior

Recognize the chunk labels correctly and shown in Positron OUTLINE pane.

Your environment

Positron Version: 2025.03.0 (user setup) build 116
Code - OSS Version: 1.96.0
Commit: 7f0f93873e8b24c9f393bb3586724f4783c5e72c
Date: 2025-03-01T19:05:24.180Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant