Skip to content

dollars should not be highlighted in code blocks #1986

Open
@stevenxxiu

Description

@stevenxxiu

When dollars are highlighted in code blocks, the following happens:

dollars in code blocks mishighlight

The highlighter I'm guessing thinks it's in latex but its not.

Dollars are common in javascript, e.g. jquery is exposed as $ and template literal variables.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions