denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.91k stars 5.22k forks source link

deno fmt fails to format markdown escaped brackets inside bracket #19728

Open scarf005 opened 1 year ago

scarf005 commented 1 year ago

Reproduction

<!-- test.md  -->

![brackets inside brackets \[ \] ]()
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

should i also create the same issue on https://github.com/dprint/dprint-plugin-markdown?

dsherret commented 1 month ago

should i also create the same issue on https://github.com/dprint/dprint-plugin-markdown?

Yeah, would be better to track there.