Skip to content

Commit 638ce1b

Browse files
Remove rehype-autolink-headings from config.
Built-in Astro features now handle anchor links, making the plugin redundant. Updated `astro.config.mjs` to prevent duplicate anchors and simplify configuration.
1 parent 6e52c89 commit 638ce1b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

astro.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import starlightClientMermaid from "@pasqal-io/starlight-client-mermaid";
66
import starlightAutoSidebar from "starlight-auto-sidebar";
77
import starlightGiscus from "starlight-giscus";
88
import redirectFrom from "astro-redirect-from";
9-
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
10-
import rehypeAutolinkHeadings from "rehype-autolink-headings";
119
import starlightHeadingBadges from "starlight-heading-badges";
1210
import starlightLlmsTxt from "starlight-llms-txt";
1311
import rehypeAstroRelativeMarkdownLinks from "astro-rehype-relative-markdown-links";

0 commit comments

Comments
 (0)