araozu.dev/astro.config.mjs
2024-08-20 12:01:06 -05:00

34 lines
978 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import {
transformerNotationDiff,
transformerNotationFocus,
transformerMetaHighlight,
transformerNotationHighlight,
transformerNotationErrorLevel,
transformerNotationWordHighlight,
} from '@shikijs/transformers'
// https://astro.build/config
export default defineConfig({
integrations: [tailwind(), mdx()],
markdown: {
shikiConfig: {
themes: {
light: "light-plus",
dark: "dark-plus"
},
transformers: [
transformerNotationDiff(),
transformerNotationFocus(),
transformerMetaHighlight(),
transformerNotationHighlight(),
transformerNotationErrorLevel(),
transformerNotationWordHighlight(),
],
defaultColor: false,
}
}
});