2024-04-23 22:06:30 +00:00
|
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import tailwind from "@astrojs/tailwind";
|
2024-07-15 18:34:47 +00:00
|
|
|
import mdx from "@astrojs/mdx";
|
2024-08-20 00:40:17 +00:00
|
|
|
import {
|
|
|
|
transformerNotationDiff,
|
|
|
|
transformerNotationFocus,
|
|
|
|
transformerMetaHighlight,
|
|
|
|
transformerNotationHighlight,
|
|
|
|
transformerNotationErrorLevel,
|
2024-08-20 01:08:34 +00:00
|
|
|
transformerNotationWordHighlight,
|
2024-08-20 00:40:17 +00:00
|
|
|
} from '@shikijs/transformers'
|
2024-04-23 22:06:30 +00:00
|
|
|
|
|
|
|
// https://astro.build/config
|
|
|
|
export default defineConfig({
|
2024-08-20 00:40:17 +00:00
|
|
|
integrations: [tailwind(), mdx()],
|
|
|
|
markdown: {
|
|
|
|
shikiConfig: {
|
|
|
|
themes: {
|
|
|
|
light: "catppuccin-latte",
|
|
|
|
dark: "dark-plus"
|
|
|
|
},
|
|
|
|
transformers: [
|
|
|
|
transformerNotationDiff(),
|
|
|
|
transformerNotationFocus(),
|
|
|
|
transformerMetaHighlight(),
|
|
|
|
transformerNotationHighlight(),
|
|
|
|
transformerNotationErrorLevel(),
|
2024-08-20 01:08:34 +00:00
|
|
|
transformerNotationWordHighlight(),
|
2024-08-20 00:40:17 +00:00
|
|
|
],
|
|
|
|
defaultColor: false,
|
|
|
|
}
|
2024-07-15 18:34:47 +00:00
|
|
|
}
|
2024-04-23 22:06:30 +00:00
|
|
|
});
|