mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-09 15:14:20 +01:00
Update copyright year to 2019, all HTTP links to HTTPS.
This commit is contained in:
parent
045238740f
commit
90bd0810e7
16 changed files with 59 additions and 59 deletions
|
|
@ -54,7 +54,7 @@ Note: Can not break MD025 and MD002 in the same file
|
|||
|
||||
<br/> {MD033}
|
||||
|
||||
http://example.com/page {MD034}
|
||||
https://example.com/page {MD034}
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ debugger;
|
|||
|
||||
Inline<hr/>HTML
|
||||
|
||||
Bare http://example.com link
|
||||
Bare https://example.com link
|
||||
|
||||
---
|
||||
***
|
||||
|
|
|
|||
|
|
@ -41,8 +41,8 @@
|
|||
"ruleDescription": "Bare URL used",
|
||||
"ruleInformation": "https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md034",
|
||||
"errorDetail": null,
|
||||
"errorContext": "http://example.com",
|
||||
"errorRange": [6, 18]
|
||||
"errorContext": "https://example.com",
|
||||
"errorRange": [6, 19]
|
||||
},
|
||||
{
|
||||
"lineNumber": 11,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ tags:
|
|||
- tag
|
||||
- another tag
|
||||
- one more tag
|
||||
url: http://example.com
|
||||
url: https://example.com
|
||||
excerpt: Hello World! Vestibulum imperdiet adipiscing arcu, quis aliquam dolor condimentum dapibus. Aliquam fermentum leo aliquet quam volutpat et molestie mauris mattis. Suspendisse semper consequat velit in suscipit.
|
||||
---
|
||||
# heading1
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
# Link test
|
||||
|
||||
For more information, please see the
|
||||
following page: http://www.example.com/ {MD034}
|
||||
following page: https://www.example.com/ {MD034}
|
||||
which will tell you all you want to know.
|
||||
|
||||
http://www.google.com/ {MD034}
|
||||
https://www.google.com/ {MD034}
|
||||
|
||||
hTtPs://gOoGlE.cOm/ {MD034}
|
||||
|
||||
ftp://user:password@ftp-server.example.com/dir/file.txt {MD034}
|
||||
|
||||
This link should be fine: <http://www.google.com/>
|
||||
This link should be fine: <https://www.google.com/>
|
||||
|
|
|
|||
|
|
@ -2,44 +2,44 @@ This is a very very very very very very very very very very very very very very
|
|||
|
||||
This line however, while very long, doesn't have whitespace after the 80th columnwhichallowsforURLsandotherlongthings.
|
||||
|
||||
[This long line is comprised entirely of a link](http://example.com "This is the long link's title")
|
||||
[This long line is comprised entirely of a link](https://example.com "This is the long link's title")
|
||||
|
||||
> [This long line is comprised entirely of a link](http://example.com "This is the long link's title")
|
||||
> [This long line is comprised entirely of a link](https://example.com "This is the long link's title")
|
||||
|
||||
[This long line is comprised entirely of a link](http://example.com "But is inside a code block") {MD013}
|
||||
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013}
|
||||
|
||||
```markdown
|
||||
[This long line is comprised entirely of a link](http://example.com "But is inside a code block") {MD013}
|
||||
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013}
|
||||
```
|
||||
|
||||
This [long line is comprised mostly of a link](http://example.com "This is the long link's title") {MD013}
|
||||
This [long line is comprised mostly of a link](https://example.com "This is the long link's title") {MD013}
|
||||
|
||||
[This long line is comprised mostly of a link](http://example.com "This is the long link's title") text {MD013}
|
||||
[This long line is comprised mostly of a link](https://example.com "This is the long link's title") text {MD013}
|
||||
|
||||
This long line includes a simple [reference][label] link and is long enough to violate the rule. {MD013}
|
||||
|
||||
[This long line is comprised entirely of a reference link and is long enough to violate the rule][label]
|
||||
|
||||
[label]: http://example.org "Title for a link reference that is itself long enough to violate the rule"
|
||||
[label]: https://example.org "Title for a link reference that is itself long enough to violate the rule"
|
||||
|
||||
[Link to broken label][notlabel]
|
||||
|
||||
[notlabel\]: notlink "Invalid syntax for a link label because the right bracket is backslash-escaped {MD013}"
|
||||
|
||||
[](http://example.com "This long line is comprised entirely of a link with empty text and a non-empty title")
|
||||
[](https://example.com "This long line is comprised entirely of a link with empty text and a non-empty title")
|
||||
|
||||
*[This long line is comprised of an emphasized link](http://example.com "This is the long link's title")*
|
||||
*[This long line is comprised of an emphasized link](https://example.com "This is the long link's title")*
|
||||
|
||||
_[This long line is comprised of an emphasized link](http://example.com "This is the long link's title")_
|
||||
_[This long line is comprised of an emphasized link](https://example.com "This is the long link's title")_
|
||||
|
||||
**[This long line is comprised of a bolded link](http://example.com "This is the long link's title")**
|
||||
**[This long line is comprised of a bolded link](https://example.com "This is the long link's title")**
|
||||
|
||||
__[This long line is comprised of a bolded link](http://example.com "This is the long link's title")__
|
||||
__[This long line is comprised of a bolded link](https://example.com "This is the long link's title")__
|
||||
|
||||
_**[This long line is comprised of an emphasized and bolded link](http://example.com "This is the long link's title")**_
|
||||
_**[This long line is comprised of an emphasized and bolded link](https://example.com "This is the long link's title")**_
|
||||
|
||||
**_[This long line is comprised of an emphasized and bolded link](http://example.com "This is the long link's title")_**
|
||||
**_[This long line is comprised of an emphasized and bolded link](https://example.com "This is the long link's title")_**
|
||||
|
||||
*[](http://example.com "This long line is comprised of an emphasized link with empty text and a non-empty title")*
|
||||
*[](https://example.com "This long line is comprised of an emphasized link with empty text and a non-empty title")*
|
||||
|
||||
**[](http://example.com "This long line is comprised of a bolded link with empty text and a non-empty title")**
|
||||
**[](https://example.com "This long line is comprised of a bolded link with empty text and a non-empty title")**
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
Go to (this website)[http://www.example.com] {MD011} {MD034}
|
||||
Go to (this website)[https://www.example.com] {MD011} {MD034}
|
||||
|
||||
However, this shouldn't trigger inside code blocks:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
[foo](http://bar/)
|
||||
[foo](https://bar/)
|
||||
|
||||
["foo"](http:/bar/)
|
||||
["foo"](https://bar/)
|
||||
|
||||
[`foo`](http://bar/)
|
||||
[`foo`](https://bar/)
|
||||
|
||||
[*foo*](http://bar/)
|
||||
[*foo*](https://bar/)
|
||||
|
||||
[**foo**](http://bar/)
|
||||
[**foo**](https://bar/)
|
||||
|
||||
[foo "bar"](http:/baz/)
|
||||
[foo "bar"](https://baz/)
|
||||
|
||||
[foo ](http://bar/) {MD039}
|
||||
[foo ](https://bar/) {MD039}
|
||||
|
||||
[ foo](http://bar/) {MD039}
|
||||
[ foo](https://bar/) {MD039}
|
||||
|
||||
[ foo ](http://bar/) {MD039}
|
||||
[ foo ](https://bar/) {MD039}
|
||||
|
||||
[ "foo" ](http://bar/) {MD039}
|
||||
[ "foo" ](https://bar/) {MD039}
|
||||
|
||||
[ `foo` ](http://bar/) {MD039}
|
||||
[ `foo` ](https://bar/) {MD039}
|
||||
|
||||
[ *foo* ](http://bar/) {MD039}
|
||||
[ *foo* ](https://bar/) {MD039}
|
||||
|
||||
The following shouldn't break anything:
|
||||
[](/images/Screenshot.png)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue