[GH-ISSUE #222] Invalid mention of line number for error MD039 #191

Closed
opened 2026-03-03 01:24:33 +03:00 by kerem · 2 comments
Owner

Originally created by @shivashanmugam on GitHub (Sep 14, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/222

The below is the markdown text and error image

# Test
[What is capital of india ?](https://en.wikipedia.org/wiki/Delhi)  
[What is the king of the jungle ?](https://en.wikipedia.org/wiki/Lion)  
[Which country paris is ther ? ](https://en.wikipedia.org/wiki/France)  

image

Note : Each link lines have two spaces and end of the line for line break,
Link to test : https://dlaa.me/markdownlint/

Originally created by @shivashanmugam on GitHub (Sep 14, 2019). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/222 The below is the markdown text and error image ``` # Test [What is capital of india ?](https://en.wikipedia.org/wiki/Delhi) [What is the king of the jungle ?](https://en.wikipedia.org/wiki/Lion) [Which country paris is ther ? ](https://en.wikipedia.org/wiki/France) ``` ![image](https://user-images.githubusercontent.com/6939456/64907851-9d02c400-d715-11e9-924b-f7e57bb42bfe.png) Note : Each link lines have two spaces and end of the line for line break, Link to test : https://dlaa.me/markdownlint/
kerem 2026-03-03 01:24:33 +03:00
Author
Owner

@nschonni commented on GitHub (Sep 14, 2019):

testing on test link highlights the correct link, so this might be more something for https://github.com/DavidAnson/vscode-markdownlint
Nevermind, it actually points to the wrong link too, I was just mixing it up by looking at the "Context" value it was showing

<!-- gh-comment-id:531489582 --> @nschonni commented on GitHub (Sep 14, 2019): ~~testing on [test link](https://dlaa.me/markdownlint/#%25m%23%20Test%0A%0A%5BWhat%20is%20capital%20of%20india%20%3F%5D(https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FDelhi)%20%20%0A%5BWhat%20is%20the%20king%20of%20the%20jungle%20%3F%5D(https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FLion)%20%20%0A%5BWhich%20country%20paris%20is%20ther%20%3F%20%5D(https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FFrance)%20%20%0A) highlights the correct link, so this might be more something for https://github.com/DavidAnson/vscode-markdownlint~~ Nevermind, it actually points to the wrong link too, I was just mixing it up by looking at the "Context" value it was showing
Author
Owner

@DavidAnson commented on GitHub (Sep 14, 2019):

Thank you both! I am hopeful this will be addressed by some changes I already made for the upcoming release. If not, I will look into this soon.

<!-- gh-comment-id:531493644 --> @DavidAnson commented on GitHub (Sep 14, 2019): Thank you both! I am hopeful this will be addressed by some changes I already made for the upcoming release. If not, I will look into this soon.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#191
No description provided.