Skip to content

Commit

Permalink
Merge pull request #61 from dalurness/jesse/fix-math
Browse files Browse the repository at this point in the history
Fix math in markdown and table styles
  • Loading branch information
janka102 authored Nov 17, 2024
2 parents 8b08cdb + 4382abf commit fb172f1
Show file tree
Hide file tree
Showing 8 changed files with 669 additions and 11 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"editor.formatOnSave": true,
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
}
}
6 changes: 6 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import remarkMath from "remark-math";
import rehypeMathJaxSvg from "rehype-mathjax";

// https://astro.build/config
export default defineConfig({
integrations: [react(), tailwind()],
site: "https://dalurness.github.io",
base: "/winter-code-fest/",
trailingSlash: "always",
markdown: {
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeMathJaxSvg],
},
});
Loading

0 comments on commit fb172f1

Please sign in to comment.