Skip to content

Escaped brackets inside bracket causes error #131

Open
@bartlomieju

Description

@bartlomieju

Describe the bug

dprint-plugin-markdown version: 0.17.8

Input Code

<!-- test.md  -->

![brackets inside brackets \[ \] ]()

Expected Output

<!-- test.md  -->

![brackets inside brackets \[ \] ]()

Actual Output

deno fmt test.md
Error formatting: /home/scarf/repo/test.md
   Line 1, column 29: Unexpected open container char `[`.

  ts inside brackets \[ \] ]()
                      ~
Checked 1 file

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