diff options
Diffstat (limited to 'examples/with-markdown-plugins/astro.config.mjs')
-rw-r--r-- | examples/with-markdown-plugins/astro.config.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/with-markdown-plugins/astro.config.mjs b/examples/with-markdown-plugins/astro.config.mjs index eb7011933..0fbb40de6 100644 --- a/examples/with-markdown-plugins/astro.config.mjs +++ b/examples/with-markdown-plugins/astro.config.mjs @@ -18,7 +18,7 @@ export default /** @type {import('astro').AstroUserConfig} */ ({ rehypePlugins: [ ['rehype-autolink-headings', { behavior: 'prepend' }], ['rehype-toc', { headings: ['h2', 'h3'] }], - ['rehype-add-classes', { 'h1,h2,h3': 'title' }], + [new URL('./add-classes.mjs', import.meta.url).pathname, { 'h1,h2,h3': 'title' }], 'rehype-slug', ], }, |