2020-01-24 21:50:50 -08:00
|
|
|
# Long Lines
|
|
|
|
|
2015-03-04 18:36:30 -08:00
|
|
|
This is a very very very very very very very very very very very very very very long line {MD013}
|
|
|
|
|
2017-03-01 21:43:04 -08:00
|
|
|
This line however, while very long, doesn't have whitespace after the 80th columnwhichallowsforURLsandotherlongthings.
|
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
[This long line is comprised entirely of a link](https://example.com "This is the long link's title")
|
2017-03-01 21:43:04 -08:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
> [This long line is comprised entirely of a link](https://example.com "This is the long link's title")
|
2017-03-01 21:43:04 -08:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013}
|
2017-03-01 21:43:04 -08:00
|
|
|
|
2018-03-03 22:22:02 -08:00
|
|
|
```markdown
|
2020-01-24 21:50:50 -08:00
|
|
|
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") {MD013} {MD046:13}
|
2017-10-28 14:58:34 -07:00
|
|
|
```
|
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
This [long line is comprised mostly of a link](https://example.com "This is the long link's title") {MD013}
|
2017-03-01 21:43:04 -08:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
[This long line is comprised mostly of a link](https://example.com "This is the long link's title") text {MD013}
|
2017-03-01 21:43:04 -08:00
|
|
|
|
|
|
|
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]
|
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
[label]: https://example.org "Title for a link reference that is itself long enough to violate the rule"
|
2017-03-01 21:43:04 -08:00
|
|
|
|
2022-06-01 20:23:08 -07:00
|
|
|
[Link to broken label][notlabel] {MD052}
|
2017-03-01 21:43:04 -08:00
|
|
|
|
|
|
|
[notlabel\]: notlink "Invalid syntax for a link label because the right bracket is backslash-escaped {MD013}"
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
[](https://example.com "This long line is comprised entirely of a link with empty text and a non-empty title")
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
*[This long line is comprised of an emphasized link](https://example.com "This is the long link's title")*
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2021-10-24 06:54:58 +02:00
|
|
|
_[This long line is comprised of an emphasized link {MD049}](https://example.com "This is the long link's title")_
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
**[This long line is comprised of a bolded link](https://example.com "This is the long link's title")**
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2021-10-21 06:42:48 +02:00
|
|
|
__[This long line is comprised of a bolded link {MD050}](https://example.com "This is the long link's title")__
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2021-10-24 06:54:58 +02:00
|
|
|
_**[This long line is comprised of an emphasized and bolded link {MD049}](https://example.com "This is the long link's title")**_
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2021-10-24 06:54:58 +02:00
|
|
|
**_[This long line is comprised of an emphasized and bolded link {MD049}](https://example.com "This is the long link's title")_**
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
*[](https://example.com "This long line is comprised of an emphasized link with empty text and a non-empty title")*
|
2017-10-28 14:58:34 -07:00
|
|
|
|
2019-02-10 11:38:01 -08:00
|
|
|
**[](https://example.com "This long line is comprised of a bolded link with empty text and a non-empty title")**
|
2020-01-24 21:50:50 -08:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
**
|
|
|
|
|
|
|
|
****
|
|
|
|
|
|
|
|
![Reference style for long line image which is itself an example of a long line with content][image]
|
|
|
|
|
|
|
|
*![Reference style for long line image which is itself an example of a long line with content][image]*
|
|
|
|
|
|
|
|
**![Reference style for long line image which is itself an example of a long line with content][image]**
|
|
|
|
|
|
|
|
[image]: https://example.com "Title text for long line image example using reference style for image details"
|
2023-02-27 18:35:52 -08:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Long lines inside HTML comments should also produce a violation of the line-length rule. {MD013}
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Long lines inside HTML comments should also produce a violation of the line-length rule. {MD013}
|
|
|
|
Long lines inside HTML comments should also produce a violation of the line-length rule. {MD013}
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!-- Long lines inside HTML comments should also produce a violation of the line-length rule. {MD013} -->
|
|
|
|
|
|
|
|
Long lines inside HTML comments should also <!-- produce a violation of the line-length rule. {MD013} -->
|
2024-08-13 20:57:00 -07:00
|
|
|
|
|
|
|
<https://example.com/long-line-comprised-entirely-of-an-autolink-long-line-comprised-entirely-of-an-autolink>
|
|
|
|
|
|
|
|
https://example.com/long-line-comprised-entirely-of-a-bare-link-long-line-comprised-entirely-of-a-bare-link
|
|
|
|
|
|
|
|
Long <https://example.com/line-comprised-mostly-of-an-autolink-long-line-comprised-mostly-of-an-autolink> {MD013}
|
|
|
|
|
|
|
|
Long https://example.com/long-line-comprised-mostly-of-a-bare-link-long-line-comprised-mostly-of-a-bare-link {MD013}
|
|
|
|
|
|
|
|
<!-- markdownlint-configure-file {
|
|
|
|
"no-bare-urls": false
|
|
|
|
} -->
|