Skip to content

Commit 1b35b52

Browse files
authored
Add info about @outline to README
1 parent a72b8a4 commit 1b35b52

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,13 @@ just do:
4848
```
4949

5050
The table of contents will be injected into this element at run time.
51+
52+
53+
To control the number of child headers that will be included in the TOC, use the
54+
`@outline` tag like so:
55+
56+
```
57+
@outline 2
58+
```
59+
60+
This will include `<h2>` and `<h3>` elements, rather than the normal `<h2>` only.

0 commit comments

Comments
 (0)