dazzle/mdsvex.config.js
light7734 edde7d66cc
All checks were successful
continuous-integration/drone/push Build is passing
wip
2025-04-30 18:15:19 +03:30

18 lines
474 B
JavaScript

import { defineMDSveXConfig as defineConfig } from 'mdsvex';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex-svelte';
import rehypeMermaid from 'rehype-mermaid'; // Import rehype-mermaid
const config = defineConfig({
extensions: ['.md', '.svx'],
layout: "./src/routes/articles/Layout.svelte",
smartypants: {
dashes: 'oldschool'
},
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex, rehypeMermaid]
});
export default config;