Skip to content
Permalink
Browse files

feat: enable medium-zoom by default

  • Loading branch information...
ulivz committed Feb 8, 2019
1 parent 9b190e0 commit 3538cc80b307abcde731878250c19254dccb0643
Showing with 15 additions and 4 deletions.
  1. +3 −3 lib/index.js
  2. +2 −1 package.json
  3. +10 −0 yarn.lock
@@ -37,9 +37,9 @@ module.exports = (opts, ctx) => {
return {
name: PACKAGE_NAME,

define: {
USE_MARKDOWN: useMarkdown
},
plugins: [
['@vuepress/medium-zoom', true],
],

chainMarkdown(config) {
if (opts.html) {
@@ -23,7 +23,8 @@
"conf": "^2.2.0",
"debug": "^4.1.1",
"node-fetch": "^2.3.0",
"ora": "^3.0.0"
"ora": "^3.0.0",
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.36"
},
"devDependencies": {
"conventional-changelog-cli": "^2.0.1",
@@ -801,6 +801,12 @@
dependencies:
cross-spawn "^6.0.5"

"@vuepress/plugin-medium-zoom@^1.0.0-alpha.36":
version "1.0.0-alpha.36"
resolved "https://registry.yarnpkg.com/@vuepress/plugin-medium-zoom/-/plugin-medium-zoom-1.0.0-alpha.36.tgz#053e6623df783e51c3532896d2c7976cec466327"
dependencies:
medium-zoom "^0.4.0"

"@vuepress/plugin-nprogress@^1.0.0-alpha.36":
version "1.0.0-alpha.36"
resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.0.0-alpha.36.tgz#22c48905540ddda5b9a5833a5d4767b006f0dd10"
@@ -6550,6 +6556,10 @@ media-typer@0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"

medium-zoom@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/medium-zoom/-/medium-zoom-0.4.0.tgz#8e13c9b754903c0c903220611af0d3cd373a4222"

mem@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"

0 comments on commit 3538cc8

Please sign in to comment.
You can’t perform that action at this time.