Open
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