added more syntax highlighting

This commit is contained in:
2024-02-08 14:27:49 +01:00
parent b7d5a80d99
commit c0af25af83
14 changed files with 2013 additions and 2198 deletions

View File

@@ -1,7 +1,7 @@
---
import Layout from "../layouts/Layout.astro";
import { Icon } from "astro-icon/components";
const unsortedDocs = await Astro.glob("./docs/*/index.mdx");
const unsortedDocs = await Astro.glob("./docs/*/index.{md,mdx}");
const docs = unsortedDocs.sort(
(a, b) => +new Date(b.frontmatter.date) - +new Date(a.frontmatter.date)
);