@@ -21,6 +21,15 @@ module.exports = {
},
],
+ [
+ 'vuepress-plugin-mathjax',
+ {
+ target: 'svg',
+ macros: {
+ '*': '\\times',
+ },
+ ],
markdown: {
lineNumbers: true
@@ -1,3 +1,8 @@
body{
- user-select :none;
+ //user-select :none;
+}
+.theme-default-content:not(.custom),
+.page-edit,
+.page-nav{
+ max-width: 100%;
}
@@ -7,4 +7,4 @@
::: details 查看代码
<<< @/docs/.vuepress/components/example/web/graph/scene/Undo1.vue
-:::
+:::
@@ -24,6 +24,7 @@
"devDependencies": {
"@vuepress/plugin-back-to-top": "^1.2.0",
+ "vuepress-plugin-mathjax": "^1.2.8",
"node-ssh": "^6.0.0",
"ts-loader": "^7.0.4",
"typescript": "^3.9.2",