mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Reimplement MD034/no-bare-urls using micromark tokens (fixes #707).
This commit is contained in:
parent
64159fa456
commit
b990b3ea77
22 changed files with 1495 additions and 947 deletions
28
test/bare-urls-in-html.md
Normal file
28
test/bare-urls-in-html.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Bare URLs in HTML
|
||||
|
||||
<p>
|
||||
https://example.com/pass
|
||||
</p>
|
||||
|
||||
Text https://example.com/fail text. {MD034}
|
||||
|
||||
Text <code>https://example.com/pass</code> text.
|
||||
|
||||
Text <code>https://example.com/pass</code> text https://example.com/fail text. {MD034}
|
||||
|
||||
Text <code>https://example.com/pass</code> text https://example.com/fail text <code>https://example.com/pass</code> text. {MD034}
|
||||
|
||||
Text <em> text <strong>text</strong> https://example.com/pass </em> text.
|
||||
|
||||
Text <em> text <em>text</em> https://example.com/pass </em> text.
|
||||
|
||||
Text <em> text <em>text</em> text </em> https://example.com/fail text. {MD034}
|
||||
|
||||
Text <br> text https://example.com/fail <br> text. {MD034}
|
||||
|
||||
Text <br/> text https://example.com/fail <br/> text. {MD034}
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"line-length": false,
|
||||
"no-inline-html": false
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue