diff --git a/.vuepress/config.js b/.vuepress/config.js index 302b35f4..e2631851 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -175,6 +175,7 @@ module.exports = { plugins: [ ['vuepress-plugin-code-copy', true], ['flexsearch'], + ['code-switcher'], '@vuepress/plugin-back-to-top', 'vuepress-plugin-smooth-scroll', ['vuepress-plugin-medium-zoom', diff --git a/package.json b/package.json index 90354a51..6e05b3f6 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "vuepress-plugin-flexsearch": "^0.2.0", "vuepress-plugin-medium-zoom": "^1.1.9", "vuepress-plugin-smooth-scroll": "^0.0.10", - "vuepress-theme-succinct": "^1.7.2" + "vuepress-theme-succinct": "^1.7.2", + "vuepress-plugin-code-switcher": "1.0" }, "dependencies": { "markdown-it-multimd-table": "^4.1.3",