17 lines
415 B
JavaScript
17 lines
415 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
import remarkMath from 'remark-math';
|
|
import rehypeKatex from 'rehype-katex';
|
|
import rehypePrettyCode from 'rehype-pretty-code';
|
|
|
|
export default defineConfig({
|
|
integrations: [tailwind()],
|
|
markdown: {
|
|
remarkPlugins: [remarkMath],
|
|
rehypePlugins: [
|
|
rehypeKatex,
|
|
[rehypePrettyCode, { theme: 'github-dark' }]
|
|
]
|
|
}
|
|
});
|