functinal state along with the first post
This commit is contained in:
parent
78cfe1b4f5
commit
fa04a9ceef
9 changed files with 712 additions and 50 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import rehypeKatex from 'rehype-katex';
|
||||
// import rehypeKatex from 'rehype-katex';
|
||||
import rehypeMathjax from 'rehype-mathjax';
|
||||
import remarkMath from 'remark-math';
|
||||
import mdx from '@astrojs/mdx';
|
||||
import sitemap from '@astrojs/sitemap';
|
||||
|
|
@ -18,7 +19,8 @@ export default defineConfig({
|
|||
mdx(
|
||||
{
|
||||
remarkPlugins: [remarkMath],
|
||||
rehypePlugins: [rehypeKatex],
|
||||
// rehypePlugins: [rehypeKatex],
|
||||
rehypePlugins: [rehypeMathjax],
|
||||
}
|
||||
),
|
||||
sitemap(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue