refactor(index): merge changes from erudite
All checks were successful
build dist / build-dist (push) Successful in 29s

This commit is contained in:
z0x 2025-04-10 17:26:22 -04:00
parent b7f170b73f
commit e783f822b6
5 changed files with 66 additions and 72 deletions

View file

@ -13,14 +13,14 @@ import rehypePrettyCode from 'rehype-pretty-code'
import remarkEmoji from 'remark-emoji'
import remarkMath from 'remark-math'
import remarkSectionize from 'remark-sectionize'
import remarkToc from 'remark-toc'
import remarkCallout from "@r4ai/remark-callout";
import rehypeDocument from 'rehype-document'
import remarkCallout from "@r4ai/remark-callout"
import { pluginCollapsibleSections } from '@expressive-code/plugin-collapsible-sections'
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
import tailwindcss from '@tailwindcss/vite'
import umami from "@yeskunall/astro-umami";
import umami from "@yeskunall/astro-umami"
export default defineConfig({
site: 'https://blog.z0x.ca',
@ -87,6 +87,12 @@ export default defineConfig({
markdown: {
syntaxHighlight: false,
rehypePlugins: [
[
rehypeDocument,
{
css: 'https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css',
},
],
[
rehypeExternalLinks,
{
@ -106,6 +112,6 @@ export default defineConfig({
},
],
],
remarkPlugins: [remarkToc, remarkMath, remarkEmoji, remarkSectionize, remarkCallout,],
remarkPlugins: [remarkMath, remarkEmoji, remarkSectionize, remarkCallout,],
},
})