|
|
|
|
@ -2,6 +2,7 @@ import { defineConfig } from 'astro/config'
|
|
|
|
|
import preact from '@astrojs/preact'
|
|
|
|
|
|
|
|
|
|
import mdx from '@astrojs/mdx'
|
|
|
|
|
import remarkMath from 'remark-math'
|
|
|
|
|
|
|
|
|
|
import yaml from '@rollup/plugin-yaml'
|
|
|
|
|
|
|
|
|
|
@ -14,6 +15,7 @@ export default defineConfig({
|
|
|
|
|
port: 3000,
|
|
|
|
|
},
|
|
|
|
|
markdown: {
|
|
|
|
|
remarkPlugins: [remarkMath],
|
|
|
|
|
shikiConfig: {
|
|
|
|
|
theme: 'github-light',
|
|
|
|
|
},
|
|
|
|
|
@ -22,7 +24,9 @@ export default defineConfig({
|
|
|
|
|
preact({
|
|
|
|
|
compat: true,
|
|
|
|
|
}),
|
|
|
|
|
mdx(),
|
|
|
|
|
mdx({
|
|
|
|
|
remarkPlugins: [remarkMath],
|
|
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
output: 'static',
|
|
|
|
|
})
|
|
|
|
|
|