-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gaps are nodes of (re)generated content, without positional information, which are therefore impossible to warn about. This feature adds support of the detection of those, and ignores warnings for already removed content. Closes GH-8.
- Loading branch information
Showing
7 changed files
with
145 additions
and
26 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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Foo | ||
|
||
## Table of Contents | ||
|
||
This paragraph is removed by mdast-toc. However, a rule such as | ||
`no-consecutive-blank-lines` cannot see this node as it has no | ||
position. **mdast-lint** knows that this node has no positional | ||
information and can ignore the space between the ToC heading | ||
and end of the document, thus ignoring any messages between | ||
nodes. |
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,11 @@ | ||
# Foo | ||
|
||
## Table of Contents | ||
|
||
This paragraph is removed by mdast-toc. However, a rule such as | ||
`no-consecutive-blank-lines` cannot see this node as it has no | ||
position. **mdast-lint** knows that this node has no positional | ||
information and can ignore the space between the ToC heading | ||
and next node, thus ignoring any messages between nodes. | ||
|
||
## Bar |
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