Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
221 changes: 188 additions & 33 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
"@astrojs/starlight": "^0.37.6",
"astro": "^5.16.15",
"choices.js": "^11.1.0",
"jszip": "^3.10.1"
"front-matter": "^4.0.2",
"gray-matter": "^4.0.3",
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gray-matter is added as a dependency but does not appear to be used anywhere in website/src. If it’s not needed, remove it to reduce install size and dependency surface area (especially since front-matter is already being used).

Suggested change
"gray-matter": "^4.0.3",

Copilot uses AI. Check for mistakes.
"jszip": "^3.10.1",
"marked": "^17.0.4",
"shiki": "^3.23.0"
}
}
19 changes: 19 additions & 0 deletions website/src/components/EmbeddedPageData.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
import {
getEmbeddedDataElementId,
serializeEmbeddedData,
} from "../scripts/embedded-data";

interface Props {
filename: string;
data: unknown;
}

const { filename, data } = Astro.props;
---

<script
id={getEmbeddedDataElementId(filename)}
type="application/json"
set:html={serializeEmbeddedData(data)}
></script>
Loading
Loading