0
Fork 0
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:
Joseph Mawa 2024-06-15 18:41:13 +03:00 committed by GitHub
parent 1296cb9b1a
commit 233fee9c04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1417,7 +1417,7 @@ export interface AstroUserConfig {
* import remarkToc from 'remark-toc';
* {
* markdown: {
* remarkPlugins: [remarkToc]
* remarkPlugins: [ [remarkToc, { heading: "contents"} ] ]
* }
* }
* ```