summaryrefslogtreecommitdiff
path: root/old_stuff/astro.config.mjs
blob: e4377885afff3ad25f23efb8ce3364917bd2c461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { defineConfig } from "astro/config";

import mdx from "@astrojs/mdx";

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(),
    expressiveCode({
      plugins: [pluginLineNumbers()],
      defaultProps: {
        showLineNumbers: false,
      },
      styleOverrides: {
        borderColor: ({ theme }) => theme.colors["editor.background"],
        borderRadius: "0",
      },
    }),
    mdx(),
  ],
});