You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/docs/features.md
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,8 @@ View
82
82
## Table of Contents:
83
83
You can look at the bottom right section of the view area, there is a _ToC_ button <iclass="fa fa-bars"></i>.
84
84
Pressing that button will show you a current _Table of Contents_, and will highlight which section you're at.
85
-
ToCs support up to **three header levels**.
85
+
ToCs support up to **five header levels**, the **default** is **set to three**. The maxLevel can be set for each note by using
86
+
[YAML Metadata](./yaml-metadata)
86
87
87
88
## Permalink
88
89
Every header will automatically add a permalink on the right side.
@@ -133,12 +134,19 @@ You can provide advanced note information to set the browser behavior (visit abo
133
134
- GA: set to use Google Analytics
134
135
- disqus: set to use Disqus
135
136
- slideOptions: setup slide mode options
137
+
- toc: set options of the Table of Contents.
136
138
137
139
## ToC:
138
-
Use the syntax `[TOC]` to embed table of content into your note.
140
+
Use the syntax `[TOC]` to embed table of content into your note. By default, three header levels are displayed. This can also be specified by using [YAML Metadata](./yaml-metadata).
139
141
140
142
[TOC]
141
143
144
+
You can also specify the number of header levels by specifying the `maxLevel` like this: `[TOC maxLevel=1]`
145
+
146
+
[TOC maxLevel=1]
147
+
148
+
149
+
142
150
## Emoji
143
151
You can type any emoji like this :smile::smiley::cry::wink:
144
152
> See full emoji list [here](http://www.emoji-cheat-sheet.com/).
0 commit comments