minor latex update
This commit is contained in:
+5
-1
@@ -2,6 +2,7 @@ import { defineConfig } from 'astro/config'
|
|||||||
import preact from '@astrojs/preact'
|
import preact from '@astrojs/preact'
|
||||||
|
|
||||||
import mdx from '@astrojs/mdx'
|
import mdx from '@astrojs/mdx'
|
||||||
|
import remarkMath from 'remark-math'
|
||||||
|
|
||||||
import yaml from '@rollup/plugin-yaml'
|
import yaml from '@rollup/plugin-yaml'
|
||||||
|
|
||||||
@@ -14,6 +15,7 @@ export default defineConfig({
|
|||||||
port: 3000,
|
port: 3000,
|
||||||
},
|
},
|
||||||
markdown: {
|
markdown: {
|
||||||
|
remarkPlugins: [remarkMath],
|
||||||
shikiConfig: {
|
shikiConfig: {
|
||||||
theme: 'github-light',
|
theme: 'github-light',
|
||||||
},
|
},
|
||||||
@@ -22,7 +24,9 @@ export default defineConfig({
|
|||||||
preact({
|
preact({
|
||||||
compat: true,
|
compat: true,
|
||||||
}),
|
}),
|
||||||
mdx(),
|
mdx({
|
||||||
|
remarkPlugins: [remarkMath],
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
output: 'static',
|
output: 'static',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user