-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for LineLengthRule to allow punctuation after links plus emphasis
- Loading branch information
Showing
5 changed files
with
110 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,70 @@ | ||
This is a very very very very very very very very very very very very very very long line {LineLengthRule} | ||
This is a very very very very very very very very very very very very very very long line | ||
|
||
This line however, while very long, doesn't have whitespace after the 80th [columnwhichallowsforURLsandotherlongthings](#hi) | ||
[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](https://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](https://example.com "This is the long link's title") | ||
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") | ||
|
||
```markdown | ||
[This long line is comprised entirely of a link](https://example.com "But is inside a code block") | ||
``` | ||
|
||
This [long line is comprised mostly of a link](https://example.com "This is the long link's title") | ||
|
||
[This long line is comprised mostly of a link](https://example.com "This is the long link's title") text | ||
|
||
This long line includes a simple [reference][label] link and is long enough to violate the rule. | ||
|
||
[This long line is comprised entirely of a reference link and is long enough to violate the rule][label] | ||
|
||
[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" | ||
|
||
[](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](https://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](https://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](https://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")_** | ||
|
||
*[](https://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 a bolded link with empty text and a non-empty title")** | ||
|
||
{LineLengthRule:1} {LineLengthRule:11} {LineLengthRule:14} | ||
{LineLengthRule:19} {LineLengthRule:21} | ||
|
||
LineLengthRule:29 is invalid too but gets picked up as a link currently | ||
|
||
This is a looongish [line](https://example.com "This is the long link's title") | ||
This is a loooongish [line](https://example.com "This is the long link's title") | ||
This is a looooongish [line](https://example.com "This is the long link's title") | ||
|
||
This is a looongish [line](https://example.com "This is the long link's title")A | ||
This is a loooongish [line](https://example.com "This is the long link's title")B | ||
|
||
{LineLengthRule:59} | ||
|
||
This is a long long long long long long long long long long long long loongish [line](https://example.com "This is the long link's title") | ||
This is a long long long long long long long long long long long long looongish [line](https://example.com "This is the long link's title") | ||
This is a long long long long long long long long long long long long loooongish [line](https://example.com "This is the long link's title") | ||
|
||
{LineLengthRule:64} {LineLengthRule:65} | ||
|
||
{NoReversedLinksRule:21} {NoReversedLinksRule:23} {NoReversedLinksRule:27} | ||
{NoEmptyLinksRule:27} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This is a very very very very very very very very very very very very long line | ||
|
||
This is a very very very very very very very very very very very very loong line | ||
|
||
This is a very very very very very very very very very very very very looong line | ||
|
||
{LineLengthRule:5} |