Add blog (1)

This commit is contained in:
2025-02-10 18:53:16 +09:00
parent d30cc44ab7
commit 3cfdcd1fe2
25 changed files with 2653 additions and 24 deletions

View File

@@ -1,6 +1,9 @@
import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import { mdsvex } from "mdsvex";
import rehypeKatex from "rehype-katex-svelte";
import remarkFootnotes from "remark-footnotes";
import remarkMath from "remark-math";
/** @type {import('@sveltejs/kit').Config} */
const config = {
@@ -11,6 +14,8 @@ const config = {
preprocess: [
mdsvex({
extensions: [".md"],
remarkPlugins: [remarkMath, remarkFootnotes],
rehypePlugins: [rehypeKatex],
}),
vitePreprocess(),
],