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 #282 from MattX/toc-depth
Add TOC depth option
- Loading branch information
Showing
6 changed files
with
64 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<h1 id="readme-for-blah">README for Blah</h1> | ||
|
||
<h2 id="introduction">Introduction</h2> | ||
|
||
<h2 id="the-meat">The Meat</h2> | ||
|
||
<h3 id="beef">Beef</h3> | ||
|
||
<h5 id="steak">Steak</h5> | ||
|
||
<h5 id="burgers">Burgers</h5> | ||
|
||
<h3 id="chicken">Chicken</h3> | ||
|
||
<h3 id="pork">Pork</h3> | ||
|
||
<h4 id="mmmmmmmm-bacon">Mmmmmmmm, bacon</h4> | ||
|
||
<h1 id="at-the-top-level-again">At the <em>top</em> level again!?</h1> |
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,5 @@ | ||
{ | ||
"extras": { | ||
"toc": {"depth": 3} | ||
} | ||
} |
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 @@ | ||
toc extra |
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 @@ | ||
# README for Blah | ||
|
||
## Introduction | ||
|
||
## The Meat | ||
|
||
### Beef | ||
|
||
##### Steak | ||
|
||
##### Burgers | ||
|
||
### Chicken | ||
|
||
### Pork | ||
|
||
#### Mmmmmmmm, bacon | ||
|
||
# At the *top* level again!? | ||
|
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,13 @@ | ||
<ul> | ||
<li><a href="#readme-for-blah">README for Blah</a> | ||
<ul> | ||
<li><a href="#introduction">Introduction</a></li> | ||
<li><a href="#the-meat">The Meat</a> | ||
<ul> | ||
<li><a href="#beef">Beef</a></li> | ||
<li><a href="#chicken">Chicken</a></li> | ||
<li><a href="#pork">Pork</a></li> | ||
</ul></li> | ||
</ul></li> | ||
<li><a href="#at-the-top-level-again">At the <em>top</em> level again!?</a></li> | ||
</ul> |