mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #353] long link over multiple lines enclosed in "<>" does trigger MD034 (no bare URL) #2143
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Dec 10, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/353
example link, which can be split onto multiple lines afaik:
still triggers MD034 for me in vs code:
any help would be appreciated.
@ghost commented on GitHub (Dec 10, 2020):
mhm nevermind, it does not seem to be really supported to split long links onto multiple lines?
do you know any solution to this,beside using a url shortener?
I found this on stackoverflow, but it doesn't seem to work for my markdownflavor (the link brakes at line break):
https://stackoverflow.com/a/27071588
@DavidAnson commented on GitHub (Dec 10, 2020):
Link references are a great solution here. I make extensive use in https://github.com/DavidAnson/markdownlint-cli2/blob/main/README.md and group all the links at the end of the file where I disable the line length restriction.
@ghost commented on GitHub (Dec 11, 2020):
Thanks for the idea! Will check out if that works for our documents.
@ghost commented on GitHub (Dec 11, 2020):
mhm, you are using this switch there to disable the check:
however this does not seem to work for me in vs code?
When I add this line it still complains about the check.
Any tips would be appreciated.
:edit: also the documented settings here for vs code do not seem to work for me?
https://github.com/DavidAnson/vscode-markdownlint#suppress
:edit 2:
Nevermind! I'm an idiot! It works! 😁 Thanks so much!