mirror of
https://github.com/withastro/astro.git
synced 2025-03-31 23:31:30 -05:00
Add config object to the remarkToc plugin in the astro config (#11087)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This commit is contained in:
parent
1296cb9b1a
commit
233fee9c04
1 changed files with 1 additions and 1 deletions
|
@ -1417,7 +1417,7 @@ export interface AstroUserConfig {
|
|||
* import remarkToc from 'remark-toc';
|
||||
* {
|
||||
* markdown: {
|
||||
* remarkPlugins: [remarkToc]
|
||||
* remarkPlugins: [ [remarkToc, { heading: "contents"} ] ]
|
||||
* }
|
||||
* }
|
||||
* ```
|
||||
|
|
Loading…
Add table
Reference in a new issue