34 lines
978 B
JavaScript
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,
|
|
}
|
|
}
|
|
});
|