Skip to content

Markdown highlight breaks when adding underscore #3942

@ghost

Description

Adding underscore to the markdown breaks the markdown highlighting in the editor.

Additional info:
Snapshots from Ace live demo

  1. When writing in blockquote
    image

  2. When writing in plain text
    image

Thought it does not break the resultant markdown, text written in a code span works, but highlighting breaks. It highlights as an emphasis but resulting in code span.

Expected behavior
It should not highlight as emphasis instead, code span should take more precedence.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions