diff --git a/astro.config.mjs b/astro.config.mjs index 036bef9..0979f4f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,6 +7,6 @@ import mdx from "@astrojs/mdx"; export default defineConfig({ integrations: [tailwind(), mdx()], markdown: { - syntaxHighlight: false, + syntaxHighlight: "prism", }, }); \ No newline at end of file diff --git a/src/layouts/ApiLayout.astro b/src/layouts/ApiLayout.astro new file mode 100644 index 0000000..85ac35a --- /dev/null +++ b/src/layouts/ApiLayout.astro @@ -0,0 +1,31 @@ +--- +import Navbar from "../components/Navbar.astro"; +import BaseLayout from "./BaseLayout.astro"; +--- + + + + +
+ + +
+ +
+
+ + +
diff --git a/src/layouts/PagesLayout.astro b/src/layouts/PagesLayout.astro index 4f5b102..1dca91c 100644 --- a/src/layouts/PagesLayout.astro +++ b/src/layouts/PagesLayout.astro @@ -108,31 +108,8 @@ for (const entry of pagesIndex) {