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

Quarto visual and source highlights are different (non-default themes; VS code apps) #525

Open
melimelo24 opened this issue Aug 29, 2024 · 0 comments

Comments

@melimelo24
Copy link

First noticed this issue in Positron but that's apparently due to an issue in the Quarto VS code extension itself and it also happens when using the visual editor in VS Code.

Describe the issue:

In quarto visual editor mode, the highlights change back to default theme instead of the currently active theme. This is independent of whatever theme was selected in YAML.

Example below: same document opened in visual mode (default highlights), source mode (rosé pine dawn no italics highlights) and the HTML file rendered in the viewer (ayu highlights).
Screenshot 2024-08-27 at 12 30 10

Steps to reproduce the issue:

Using a non-default theme, create a .qmd document, write any code block like 1 + 1 = "bob" and switch to visual mode.

Expected or desired behavior:

Highlights should stay the same between visual and source mode.

System details:

Positron and OS details:

Positron Version: 2024.08.0 (Universal) build 48
Code - OSS Version: 1.91.0
Commit: ed616b36655fb24d116108bdd833f1321704315b
Date: 2024-08-19T04:26:51.868Z (1 wk ago)
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin x64 22.6.0

Interpreter details:

R 4.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant