ui: disable default mdit plugins

This commit is contained in:
undefined committed 2025-08-24 23:33:50 +08:00
1 parent 7f25b0c229
commit c5578531fc
6 files changed
+21 -21

No files matched your search

+3 -3
View File
@@ -6,9 +6,9 @@
"repository": "https://github.com/hydro-dev/Hydro",
"dependencies": {
"@antfu/eslint-config": "^5.2.1",
"@eslint-react/eslint-plugin": "^1.52.5",
"@typescript-eslint/eslint-plugin": "^8.39.1",
"@typescript-eslint/parser": "^8.39.1",
"@eslint-react/eslint-plugin": "^1.52.6",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"eslint-plugin-de-morgan": "^1.3.1",
"eslint-plugin-github": "^6.0.0",
"eslint-plugin-react-hooks": "^5.2.0",
+2 -2
View File
@@ -39,11 +39,11 @@
"@types/semver": "^7.7.0",
"autocannon": "^8.0.0",
"cac": "^6.7.14",
"chai": "^5.2.1",
"chai": "^5.3.3",
"cross-env": "^10.0.0",
"cross-spawn": "^7.0.6",
"esbuild": "0.25.2",
"eslint": "^9.33.0",
"eslint": "^9.34.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-import-resolver-webpack": "^0.13.10",
"fs-extra": "^11.3.1",
+2 -2
View File
@@ -52,7 +52,7 @@
"superagent": "^10.2.3",
"tar": "6.2.1",
"thirty-two": "^1.0.2",
"ua-parser-js": "1.0.40"
"ua-parser-js": "1.0.41"
},
"devDependencies": {
"@types/adm-zip": "^0.5.7",
@@ -63,7 +63,7 @@
"@types/lodash": "^4.17.20",
"@types/mime-types": "^3.0.1",
"@types/mongodb-uri": "^0.9.4",
"@types/nodemailer": "^6.4.18",
"@types/nodemailer": "^7.0.1",
"@types/notp": "^2.0.5",
"@types/saslprep": "^1.0.3",
"@types/semver": "^7.7.0",
@@ -36,9 +36,9 @@ config({
});
}
},
markdownItPlugins(plugins) {
console.log('Active builtin mdit plugins', plugins);
return plugins.filter((plugin) => ['sub', 'sup'].includes(plugin.type));
markdownItPlugins() {
// disable all default plugins
return [];
},
});
+7 -7
View File
@@ -11,7 +11,7 @@
"cli": false
},
"devDependencies": {
"@blueprintjs/core": "^6.1.0",
"@blueprintjs/core": "^6.2.1",
"@fontsource/dm-mono": "^5.2.6",
"@fontsource/fira-code": "^5.2.6",
"@fontsource/inconsolata": "^5.2.6",
@@ -26,7 +26,7 @@
"@simplewebauthn/browser": "13.1.2",
"@svgr/webpack": "^8.1.0",
"@types/html-to-text": "^9.0.4",
"@types/jquery": "^3.5.32",
"@types/jquery": "^3.5.33",
"@types/jquery.transit": "^0.9.33",
"@types/json-schema": "^7.0.15",
"@types/katex": "^0.16.7",
@@ -34,7 +34,7 @@
"@types/nunjucks": "^3.2.6",
"@types/pickadate": "^3.5.35",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.23",
"@types/react": "^18.3.24",
"@types/react-dom": "^18.3.7",
"@types/redux-logger": "^3.0.13",
"@types/uuid": "^10.0.0",
@@ -50,8 +50,8 @@
"clipboard": "^2.0.11",
"copy-webpack-plugin": "^13.0.1",
"cordis": "4.0.0-beta.5",
"core-js": "^3.45.0",
"core-js-compat": "^3.45.0",
"core-js": "^3.45.1",
"core-js-compat": "^3.45.1",
"css-loader": "^7.1.2",
"diff": "^8.0.2",
"diff-dom": "^5.2.0",
@@ -112,9 +112,9 @@
"tether-drop": "^1.4.2",
"timeago-react": "^3.0.7",
"timeago.js": "^4.0.2",
"ts-loader": "^9.5.2",
"ts-loader": "^9.5.4",
"web-streams-polyfill": "^4.2.0",
"webpack": "^5.101.2",
"webpack": "^5.101.3",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-dev-server": "^5.2.2",
"webpack-manifest-plugin": "^5.0.1",
+4 -4
View File
@@ -8,14 +8,14 @@
"preview": "vite preview"
},
"dependencies": {
"@vitejs/plugin-react": "^5.0.0",
"@vitejs/plugin-react": "^5.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.23",
"@types/react": "^18.3.24",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react-swc": "^4.0.0",
"vite": "^7.1.2"
"@vitejs/plugin-react-swc": "^4.0.1",
"vite": "^7.1.3"
}
}