Skip to content

Commit 8fa47b9

Browse files
Bump the npm group with 5 updates (#35)
* Bump the npm group with 5 updates Bumps the npm group with 5 updates: | Package | From | To | | --- | --- | --- | | [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) | `0.34.2` | `0.34.3` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.1.5` | `4.1.6` | | [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) | `5.7.10` | `5.7.12` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.1.5` | `4.1.6` | | [@types/sanitize-html](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sanitize-html) | `2.15.0` | `2.16.0` | Updates `@astrojs/starlight` from 0.34.2 to 0.34.3 - [Release notes](https://github.com/withastro/starlight/releases) - [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md) - [Commits](https://github.com/withastro/starlight/commits/@astrojs/[email protected]/packages/starlight) Updates `@tailwindcss/vite` from 4.1.5 to 4.1.6 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/@tailwindcss-vite) Updates `astro` from 5.7.10 to 5.7.12 - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/[email protected]/packages/astro) Updates `tailwindcss` from 4.1.5 to 4.1.6 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.1.6/packages/tailwindcss) Updates `@types/sanitize-html` from 2.15.0 to 2.16.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sanitize-html) --- updated-dependencies: - dependency-name: "@astrojs/starlight" dependency-version: 0.34.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@tailwindcss/vite" dependency-version: 4.1.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: astro dependency-version: 5.7.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: tailwindcss dependency-version: 4.1.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm - dependency-name: "@types/sanitize-html" dependency-version: 2.16.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm ... Signed-off-by: dependabot[bot] <[email protected]> * Use custom Rehype plugin to re-add header links to non-Starlight pages * Run Prettier --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kyle Lacy <[email protected]>
1 parent d1e5034 commit 8fa47b9

File tree

4 files changed

+410
-95
lines changed

4 files changed

+410
-95
lines changed

astro.config.mjs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3-
import { redirects } from "./src/pages/_redirects";
43
import sitemap from "@astrojs/sitemap";
5-
import robotsTxt from "astro-robots-txt";
6-
4+
import { rehypeHeadingIds } from '@astrojs/markdown-remark';
75
import tailwindcss from "@tailwindcss/vite";
6+
import robotsTxt from "astro-robots-txt";
7+
import rehypeAutolinkHeadings from "./src/plugins/rehype-autolink-headings";
8+
import { redirects } from "./src/pages/_redirects";
89

910
// https://astro.build/config
1011
export default defineConfig({
@@ -184,6 +185,13 @@ export default defineConfig({
184185
},
185186
],
186187

188+
markdown: {
189+
rehypePlugins: [
190+
rehypeHeadingIds,
191+
rehypeAutolinkHeadings,
192+
]
193+
},
194+
187195
vite: {
188196
plugins: [tailwindcss()],
189197
},

0 commit comments

Comments
 (0)