You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
602 B
JavaScript
30 lines
602 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config'
|
|
|
|
import yaml from '@rollup/plugin-yaml'
|
|
import mdx from '@astrojs/mdx'
|
|
|
|
import remarkMath from 'remark-math'
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
vite: {
|
|
plugins: [yaml()],
|
|
},
|
|
markdown: {
|
|
remarkPlugins: [remarkMath],
|
|
shikiConfig: {
|
|
theme: 'github-light',
|
|
},
|
|
},
|
|
integrations: [
|
|
mdx({
|
|
remarkPlugins: [remarkMath],
|
|
shikiConfig: {
|
|
theme: 'github-light',
|
|
},
|
|
}),
|
|
],
|
|
output: 'static',
|
|
})
|