File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,19 @@ In gatsby-config, add this under `gatsby-transformer-remark`:
1111
1212``` js
1313plugins: [{
14- // other plugins...
15-
16- resolve: ` gatsby-transformer-remark` ,
17- options: {
18- plugins: [
19- {
20- resolve: ` gatsby-remark-link-on-headers` ,
21- options: {
22- headings: [` h2` , ` h3` ],
23- },
24- },
25- ]
26- }
14+ // other plugins...
15+
16+ resolve: ` gatsby-transformer-remark` ,
17+ options: {
18+ plugins: [
19+ {
20+ resolve: ` gatsby-remark-link-on-headers` ,
21+ options: {
22+ headings: [` h2` , ` h3` ],
23+ },
24+ },
25+ ]
26+ }
2727}]
2828```
2929
@@ -36,7 +36,7 @@ For all headings, leave it empty.
3636
3737## Examples of usage
3838
39- The plugins will replace the headers with an anchor link based on headings options.
39+ No more actions required. The plugin will add an anchor link to headings tag automatically based on headings options after install this plugin .
4040
4141## Changelogs
4242
You can’t perform that action at this time.
0 commit comments