Skip to content
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

Bad highlighting of nested code chunks in R Markdown documents #1500

Open
arnaudgallou opened this issue Mar 10, 2024 · 0 comments
Open

Bad highlighting of nested code chunks in R Markdown documents #1500

arnaudgallou opened this issue Mar 10, 2024 · 0 comments
Labels

Comments

@arnaudgallou
Copy link

vscode-R incorrectly highlights nested code chunks in R Markdown documents, stopping after the first closing chunk. E.g.:

````{verbatim}

```{r}
foo <- 1
```

````

produces:

bad-chunk-highlight

I'd expect to have the outermost chunk (verbatim here) fully highlighted. Note that the quarto extension highlights nested code chunks properly. That would be great to get this work for .Rmd files too though.

My system:

  • OS: macOS 12.3.1
  • VSCode Version: 1.87.1
  • R version: 4.3.2
  • vscode-R version: 2.8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant