Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
  • Loading branch information
cutecutecat committed Mar 8, 2024
1 parent cb1f7de commit 7b7e309
Show file tree
Hide file tree
Showing 4 changed files with 781 additions and 59 deletions.
2 changes: 2 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'vitepress'

import mathjax3 from 'markdown-it-mathjax3';
import markdownItTextualUml from 'markdown-it-textual-uml'

const customElements = ['mjx-container'];

Expand All @@ -12,6 +13,7 @@ export default defineConfig({
markdown: {
config: (md) => {
md.use(mathjax3);
md.use(markdownItTextualUml);
},
},
sitemap: {
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"markdown-it-katex": "^2.0.3",
"markdown-it-mathjax3": "^4.3.2"
"markdown-it-mathjax3": "^4.3.2",
"markdown-it-textual-uml": "^0.17.1"
}
}
}
Loading

0 comments on commit 7b7e309

Please sign in to comment.