markdownlint icon indicating copy to clipboard operation
markdownlint copied to clipboard

Idea of new rule: use slash instead of backslash for image path

Open skyoxZ opened this issue 5 years ago • 2 comments

Correct:

![foo](images/foo.jpg)

Not recommended:

![foo](images\foo.jpg)

skyoxZ avatar Jun 30 '20 01:06 skyoxZ

What's the state of this rule? It seems that markdown document written in typora use backslash for image path, it make the image broken in gitlab.

thawk avatar Jul 07 '22 01:07 thawk

It sounds like a fairly straightforward rule to implement if anybody wants to do so for npm or as a custom rule in their repository. I have not added it to the core library so far.

DavidAnson avatar Jul 07 '22 02:07 DavidAnson