mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #236] Rule MD034 flags links inside divs as bare URLs #204
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#204
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 @gwern on GitHub (Nov 21, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/236
It appears any link inside a div causes the warning to fire, although as far as I can see, this is not a 'bare URL' in any sense relevant in the MD034 doc.
This is a simplified version of a feature I use for a number of things, like for epigraphs, for example:
@DavidAnson commented on GitHub (Nov 21, 2019):
I can’t try the CLI right now, but I’m not seeing your issue here: https://dlaa.me/markdownlint/#%25m%23%20Issue%20236%0A%0A%3Cdiv%3E%0A%5Blink%5D(http%3A%2F%2Fwww.example.com)%0A
Can you reproduce it there?
@DavidAnson commented on GitHub (Nov 21, 2019):
Are you using the Ruby implementation? The latest
markdownlint-cliversion is 0.19.0: https://github.com/igorshubovych/markdownlint-cli/releases@gwern commented on GitHub (Nov 21, 2019):
Oh, yes. I installed via
gem install --user-install mdl. I thought I was in the right repo because I was consulting the doc for MD034; didn't occur to me that the docs for one tool might be in the repo for the other tool. It looks like it may already have been reported there as https://github.com/markdownlint/markdownlint/issues/191