summaryrefslogtreecommitdiff
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-12 18:44:51 +0200
committerKyren223 <Kyren223@proton.me>2024-11-12 18:44:51 +0200
commit506d97a7d16fa186beee3eda314492d9297e90c5 (patch)
tree2b9a7f333255caf11690d2234f88847017611507 /astro.config.mjs
parent0c17d94c4d1303d73b3ad3e7a9dfef1fb8f0a883 (diff)
Added blog and changed some other stuff
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs14
1 files changed, 8 insertions, 6 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index 3ca0b57..03cc6e0 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -2,19 +2,21 @@ import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
-import starlight from "@astrojs/starlight";
-
import tailwind from "@astrojs/tailwind";
+import expressiveCode from "astro-expressive-code";
+import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
+
// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
- starlight({
- title: "My delightful docs site",
- customCss: ["./src/styles/custom.css"],
+ expressiveCode({
+ plugins: [pluginLineNumbers()],
+ defaultProps: {
+ showLineNumbers: false,
+ },
}),
mdx(),
],
});
-