From c8b04da65567e5db978f2c65e586a366784d7efa Mon Sep 17 00:00:00 2001 From: 7Wate Date: Wed, 27 Jul 2022 09:04:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=EF=BC=9A=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=BD=91=E7=AB=99=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 13 ------------- package-lock.json | 19 +------------------ 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index d2458f1b..9a498829 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -282,19 +282,6 @@ const config = { defaultLanguage: "markdown", additionalLanguages: ["java", "git"], }, - // imageZoom: { - // // CSS selector to apply the plugin to, defaults to '.markdown img' - // selector: ".markdown img", - // // Optional medium-zoom options - // // see: https://www.npmjs.com/package/medium-zoom#options - // options: { - // margin: 24, - // background: "#BADA55", - // scrollOffset: 0, - // container: "#zoom-container", - // template: "#zoom-template", - // }, - // }, }), }; diff --git a/package-lock.json b/package-lock.json index 6005e82e..f95aa5d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,7 +1,7 @@ { "name": "wiki", "version": "0.0.0", - "lockfileVersion": 2, + "lockfileVersion": 1, "requires": true, "packages": { "": { @@ -13,7 +13,6 @@ "@easyops-cn/docusaurus-search-local": "^0.23.2", "@mdx-js/react": "^1.6.22", "clsx": "^1.1.1", - "plugin-image-zoom": "github:flexanalytics/plugin-image-zoom", "prism-react-renderer": "^1.3.1", "react": "^17.0.2", "react-dom": "^17.0.2" @@ -9302,14 +9301,6 @@ "node": ">=4" } }, - "node_modules/plugin-image-zoom": { - "version": "0.0.0", - "resolved": "git+ssh://git@github.com/flexanalytics/plugin-image-zoom.git#86f6f0b4f927ded94dcfdc18c0a9ee702ffd8d06", - "integrity": "sha512-Lx434GXmPaB7LgsGjFi9RW7uexU9slvzakHyvoremQicg7PNygw5n2GYd7OnyVKsoibZkbIFyAT66qTezChj3A==", - "dependencies": { - "medium-zoom": "^1.0.4" - } - }, "node_modules/postcss": { "version": "8.4.14", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", @@ -19957,14 +19948,6 @@ } } }, - "plugin-image-zoom": { - "version": "git+ssh://git@github.com/flexanalytics/plugin-image-zoom.git#86f6f0b4f927ded94dcfdc18c0a9ee702ffd8d06", - "integrity": "sha512-Lx434GXmPaB7LgsGjFi9RW7uexU9slvzakHyvoremQicg7PNygw5n2GYd7OnyVKsoibZkbIFyAT66qTezChj3A==", - "from": "plugin-image-zoom@github:flexanalytics/plugin-image-zoom", - "requires": { - "medium-zoom": "^1.0.4" - } - }, "postcss": { "version": "8.4.14", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",