-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #312 from rkitover/section-links
Check GitHub markdown section links
- Loading branch information
Showing
4 changed files
with
130 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# section links test | ||
|
||
We will test GitHub markdown links to headings. Correct links should resolve | ||
while misspellings should result in a 404. | ||
|
||
## Level two heading | ||
|
||
#### Level four heading | ||
|
||
### Test Same Name repeating | ||
|
||
##### Test same Name Repeating | ||
|
||
```bash | ||
# This is a comment in a code block | ||
``` | ||
|
||
Link to [Level two heading](#level-two-heading) should work. | ||
|
||
Link to [Misspelled Level two heading](#level-two-headingg) should 404. | ||
|
||
Link to [Level four heading](#level-four-heading) should work. | ||
|
||
Link to [Test Same Name repeating](#test-same-name-repeating) should work. | ||
|
||
Link to [Second Test same Name Repeating](#test-same-name-repeating-1) should work. | ||
|
||
Link to [Third nonexistent Test same Name Repeating](#test-same-name-repeating-2) should 404. | ||
|
||
Link to [comment in code block](#this-is-a-comment-in-a-code-block) should 404. | ||
|
||
Link to [Level two heading using baseurl](https://BASEURL#level-two-heading) should work. | ||
|
||
Link to [Level two heading using baseurl with slash](https://BASEURL/#level-two-heading) should work. | ||
|
||
Link to [Level two heading using baseurl with slashes](https://BASEURL////#level-two-heading) should work. |