diff options
author | 2024-06-15 18:41:13 +0300 | |
---|---|---|
committer | 2024-06-15 12:41:13 -0300 | |
commit | 233fee9c04ba5d9cbcda13a93f9f6d8ecd5794d8 (patch) | |
tree | d152d5e75fc7f5a37231025adc458200dd789b6e | |
parent | 1296cb9b1a50aa9b6e21db9551829922a63cf953 (diff) | |
download | astro-233fee9c04ba5d9cbcda13a93f9f6d8ecd5794d8.tar.gz astro-233fee9c04ba5d9cbcda13a93f9f6d8ecd5794d8.tar.zst astro-233fee9c04ba5d9cbcda13a93f9f6d8ecd5794d8.zip |
Add config object to the remarkToc plugin in the astro config (#11087)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
-rw-r--r-- | packages/astro/src/@types/astro.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 3b3ce671a..ca887ac3a 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -1417,7 +1417,7 @@ export interface AstroUserConfig { * import remarkToc from 'remark-toc'; * { * markdown: { - * remarkPlugins: [remarkToc] + * remarkPlugins: [ [remarkToc, { heading: "contents"} ] ] * } * } * ``` |