minor latex update

backend
Antonio De Lucreziis 12 months ago
parent da7f526cb0
commit ddca56e868

@ -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',
}) })

Binary file not shown.
Loading…
Cancel
Save