araozu.dev/astro.config.mjs

34 lines
984 B
JavaScript
Raw Normal View History

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";
import {
transformerNotationDiff,
transformerNotationFocus,
transformerMetaHighlight,
transformerNotationHighlight,
transformerNotationErrorLevel,
2024-08-20 01:08:34 +00:00
transformerNotationWordHighlight,
} from '@shikijs/transformers'
2024-04-23 22:06:30 +00:00
// https://astro.build/config
export default defineConfig({
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(),
],
defaultColor: false,
}
2024-07-15 18:34:47 +00:00
}
2024-04-23 22:06:30 +00:00
});