-
Notifications
You must be signed in to change notification settings - Fork 34
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 #52 from cpadilla/master
Fixed header links to increment if duplicates found
- Loading branch information
Showing
5 changed files
with
66 additions
and
5 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<h1 id="an-article">An article</h1> | ||
<p><div class="table-of-contents"><ul><li><a href="#an-article">An article</a><ul><li><a href="#sub-heading">Sub heading</a><ul><li><a href="#common-sub-heading">Common sub heading</a><ul><li><a href="#duplicate-heading">Duplicate heading</a></li><li><a href="#duplicate-heading-2">Duplicate heading</a></li></ul></li></ul></li><li><a href="#sub-heading-2">Sub heading 2</a><ul><li><a href="#common-sub-heading-2">Common sub heading</a></li></ul></li><li><a href="#duplicate-heading-3">Duplicate heading</a></li></ul></li></ul></div></p> | ||
<h2 id="sub-heading">Sub heading</h2> | ||
<p>Some nice text</p> | ||
<h3 id="common-sub-heading">Common sub heading</h3> | ||
<p>Some very nice text</p> | ||
<h4 id="duplicate-heading">Duplicate heading</h4> | ||
<p>Some exceptionally nice text</p> | ||
<h4 id="duplicate-heading-2">Duplicate heading</h4> | ||
<p>Some exceptionally nice text</p> | ||
<h2 id="sub-heading-2">Sub heading 2</h2> | ||
<p>Some even nicer text</p> | ||
<h3 id="common-sub-heading-2">Common sub heading</h3> | ||
<p>Some more nice text</p> | ||
<h2 id="duplicate-heading-3">Duplicate heading</h2> | ||
<p>Some exceptionally nice text</p> |
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,24 @@ | ||
# An article | ||
|
||
[[toc]] | ||
|
||
## Sub heading | ||
Some nice text | ||
|
||
### Common sub heading | ||
Some very nice text | ||
|
||
#### Duplicate heading | ||
Some exceptionally nice text | ||
|
||
#### Duplicate heading | ||
Some exceptionally nice text | ||
|
||
## Sub heading 2 | ||
Some even nicer text | ||
|
||
### Common sub heading | ||
Some more nice text | ||
|
||
## Duplicate heading | ||
Some exceptionally nice text |
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