functinal state along with the first post

This commit is contained in:
Osman Faruk Bayram 2024-10-27 03:13:21 +03:00
parent 78cfe1b4f5
commit fa04a9ceef
9 changed files with 712 additions and 50 deletions

View file

@ -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(),