From 15fe20c817419f23e8489dc6d44d5c922f1f7203 Mon Sep 17 00:00:00 2001 From: Slanterns Date: Thu, 4 Oct 2018 21:23:37 +0800 Subject: [PATCH] update readme. (#56) * update readme. * docs: update install method --- ReadMe.md | 6 +++--- ReadMe.zh.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ReadMe.md b/ReadMe.md index 4042869..e5c91fb 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -15,9 +15,9 @@ See [https://mhexo.github.io/example-site/2016/10/26/HexoBlogEncrpyt/](https://mhexo.github.io/example-site/2016/10/26/HexoBlogEncrpyt/), **all passwords are *mikemessi***. # Install -+ Add '"hexo-blog-encrypt": "2.0.\*"' to your hexo *package.json*. -+ Then use *npm install*. -+ This plugin will install automatic. ++ `npm install --save hexo-blog-encrypt` + ++ or `yarn add hexo-blog-encrypt` (require [Yarn](https://yarnpkg.com/en/)) # Quick Start + First you should enable the plugin in your `_config.yml` like below: diff --git a/ReadMe.zh.md b/ReadMe.zh.md index 06a66c2..0eceb3a 100644 --- a/ReadMe.zh.md +++ b/ReadMe.zh.md @@ -18,9 +18,9 @@ hexo-blog-encrypt 所有的密码都是 "mikemessi" # 安装 -+ 在 hexo 根目录的 *package.json* 中添加 '"hexo-blog-encrypt": "1.1.\*"' 依赖。 -+ 然后执行 *npm install* 命令。 -+ 该插件会自动安装 ++ `npm install --save hexo-blog-encrypt` + ++ 或者 `yarn add hexo-blog-encrypt` (需要安装 [Yarn](https://yarnpkg.com/en/)) # 快速开始