quarto-dev / quarto-dev/quarto
Wrong display math syntax highlighting and preview
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Bug description
$$x$$
is being highlighted as:
and in the preview looks like:
This is just an example. Any display math block will fail in similar ways.
Steps to reproduce
Create a qmd file with the content above. Open the math preview.
Actual behavior
As shown above.
Expected behavior
The block is correctly recognized and presented as display math.
Your environment
- IDE: VSCode 1.99.3
- macOS Sequoia 15.1
- Quarto Extension 1.121.0
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Create a qmd file containing $$x$$ in VSCode 1.99.3 and open the math preview, using the reported screenshots as the current behavior. Trace the Quarto extension's syntax highlighting and preview paths; done means display math blocks are correctly recognized, highlighted, and rendered in the preview.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100