Skip to content

Commit 5f27829

Browse files
committed
Add LaTeX, add Mushr project summary
1 parent ba19b6f commit 5f27829

20 files changed

Lines changed: 1445 additions & 57 deletions

astro.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import partytown from '@astrojs/partytown';
4+
import remarkMath from 'remark-math';
5+
import rehypeKatex from 'rehype-katex';
46

57
// https://astro.build/config
68
export default defineConfig({
79
site: 'https://ctrl-vi.github.io',
810
integrations: [partytown()],
11+
markdown: {
12+
syntaxHighlight: "prism",
13+
remarkPlugins: [remarkMath],
14+
rehypePlugins: [rehypeKatex]
15+
}
916
});

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
"@astrojs/partytown": "^2.1.4",
1414
"astro": "^5.10.0",
1515
"astro-seo": "^0.8.4",
16+
"rehype-katex": "^7.0.1",
17+
"remark-math": "^6.0.0",
1618
"sharp": "^0.34.2"
1719
}
1820
}

pnpm-lock.yaml

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)