diff --git a/astro.config.mjs b/astro.config.mjs index 1831c87..2200e93 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -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', }) diff --git a/bun.lockb b/bun.lockb index 4062b9d..a74191b 100755 Binary files a/bun.lockb and b/bun.lockb differ