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",