Skip to content

Commit 5561788

Browse files
authored
Update README.md
1 parent af65173 commit 5561788

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ In gatsby-config, add this under `gatsby-transformer-remark`:
1111

1212
```js
1313
plugins: [{
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

0 commit comments

Comments
 (0)