mirror of
https://github.com/Pantonius/pantosite-astro.git
synced 2026-04-26 09:24:38 +00:00
20 lines
499 B
JavaScript
20 lines
499 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import mdx from '@astrojs/mdx';
|
|
import remarkMath from 'remark-math'
|
|
import rehypeKatex from 'rehype-katex'
|
|
import sitemap from '@astrojs/sitemap';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://pantonius.dev',
|
|
markdown: {
|
|
remarkPlugins: [remarkMath],
|
|
rehypePlugins: [rehypeKatex]
|
|
},
|
|
integrations: [mdx({
|
|
syntaxHighlight: 'shiki',
|
|
shikiConfig: { theme: "dracula" },
|
|
}), sitemap()],
|
|
});
|