llm_log_frontend/astro.config.mjs

19 lines
440 B
JavaScript

import { defineConfig } from 'astro/config';
import tailwind from '@tailwindcss/vite';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
import rehypePrettyCode from 'rehype-pretty-code';
export default defineConfig({
vite: {
plugins: [tailwind()]
},
markdown: {
remarkPlugins: [remarkMath],
rehypePlugins: [
rehypeKatex,
[rehypePrettyCode, { theme: 'github-dark' }]
]
}
});