12
12
13
13
## Contents
14
14
15
- * [ What is this?] ( #what-is-this )
16
- * [ When should I use this?] ( #when-should-i-use-this )
17
- * [ Install] ( #install )
18
- * [ Use] ( #use )
19
- * [ API] ( #api )
20
- * [ ` unified().use(rehypeShiftHeading[, options]) ` ] ( #unifieduserehypeshiftheading-options )
21
- * [ ` Options ` ] ( #options )
22
- * [ Types] ( #types )
23
- * [ Compatibility] ( #compatibility )
24
- * [ Security] ( #security )
25
- * [ Related] ( #related )
26
- * [ Contribute] ( #contribute )
27
- * [ License] ( #license )
15
+ * [ What is this?] ( #what-is-this )
16
+ * [ When should I use this?] ( #when-should-i-use-this )
17
+ * [ Install] ( #install )
18
+ * [ Use] ( #use )
19
+ * [ API] ( #api )
20
+ * [ ` unified().use(rehypeShiftHeading[, options]) ` ] ( #unifieduserehypeshiftheading-options )
21
+ * [ ` Options ` ] ( #options )
22
+ * [ Types] ( #types )
23
+ * [ Compatibility] ( #compatibility )
24
+ * [ Security] ( #security )
25
+ * [ Related] ( #related )
26
+ * [ Contribute] ( #contribute )
27
+ * [ License] ( #license )
28
28
29
29
## What is this?
30
30
@@ -109,8 +109,8 @@ Does not shift past `h1` and `h6`.
109
109
110
110
###### Parameters
111
111
112
- * ` options ` ([ ` Options ` ] [ api-options ] , optional)
113
- — configuration
112
+ * ` options ` ([ ` Options ` ] [ api-options ] , optional)
113
+ — configuration
114
114
115
115
###### Returns
116
116
@@ -122,8 +122,8 @@ Configuration (TypeScript type).
122
122
123
123
###### Fields
124
124
125
- * ` shift ` (` number ` , default: ` 0 ` )
126
- — number to shift headings; can be negative to decrease heading levels
125
+ * ` shift ` (` number ` , default: ` 0 ` )
126
+ — number to shift headings; can be negative to decrease heading levels
127
127
128
128
## Types
129
129
@@ -149,12 +149,12 @@ Use of `rehype-shift-heading` is safe.
149
149
150
150
## Related
151
151
152
- * [ ` rehype-slug ` ] ( https://github.com/rehypejs/rehype-slug )
153
- — add ` id ` s to headings
154
- * [ ` rehype-autolink-headings ` ] ( https://github.com/rehypejs/rehype-autolink-headings )
155
- — add links to headings
156
- * [ ` rehype-headings-normalize ` ] ( https://github.com/hashbite/rehype-headings-normalize )
157
- — normalizes headlines by shifting to a minimum level and closing gaps
152
+ * [ ` rehype-slug ` ] ( https://github.com/rehypejs/rehype-slug )
153
+ — add ` id ` s to headings
154
+ * [ ` rehype-autolink-headings ` ] ( https://github.com/rehypejs/rehype-autolink-headings )
155
+ — add links to headings
156
+ * [ ` rehype-headings-normalize ` ] ( https://github.com/hashbite/rehype-headings-normalize )
157
+ — normalizes headlines by shifting to a minimum level and closing gaps
158
158
159
159
## Contribute
160
160
0 commit comments