Skip to content

Wrong display math syntax highlighting and preview #703

Open
@memeplex

Description

@memeplex

Bug description

$$x$$

is being highlighted as:

Image

and in the preview looks like:

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions