-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor to externalise toc generation to
mdast-util-toc
Closes GH-6.
1 parent
61e924c
commit dd6bf14
Showing
7 changed files
with
85 additions
and
279 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Missing content | ||
|
||
## Table of Contents | ||
|
||
* * * |
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,15 @@ | ||
# Normal | ||
|
||
## Table of Contents | ||
|
||
Here’s some content. | ||
|
||
# Something if | ||
|
||
## Something else | ||
|
||
Text. | ||
|
||
## Something elsefi | ||
|
||
# Something iffi |
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,20 @@ | ||
# Normal | ||
|
||
## Table of Contents | ||
|
||
- [Something if](#something-if) | ||
|
||
- [Something else](#something-else) | ||
- [Something elsefi](#something-elsefi) | ||
|
||
- [Something iffi](#something-iffi) | ||
|
||
# Something if | ||
|
||
## Something else | ||
|
||
Text. | ||
|
||
## Something elsefi | ||
|
||
# Something iffi |
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,17 @@ | ||
# Normal | ||
|
||
## Table of Contents | ||
|
||
Here’s some content. | ||
|
||
Here’s some more content. | ||
|
||
# Something if | ||
|
||
## Something else | ||
|
||
Text. | ||
|
||
## Something elsefi | ||
|
||
# Something iffi |
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,20 @@ | ||
# Normal | ||
|
||
## Table of Contents | ||
|
||
- [Something if](#something-if) | ||
|
||
- [Something else](#something-else) | ||
- [Something elsefi](#something-elsefi) | ||
|
||
- [Something iffi](#something-iffi) | ||
|
||
# Something if | ||
|
||
## Something else | ||
|
||
Text. | ||
|
||
## Something elsefi | ||
|
||
# Something iffi |