Commit ef3def1
Changed files (3)
package.json
@@ -1,14 +1,25 @@
{
- "name": "hexo-highlight-shiki",
+ "name": "hexo-highlighter-shiki",
"version": "1.0.0",
"description": "A package for Hexo which use Shiki to render code highlight.",
"main": "dist/index.js",
+ "files": [
+ "dist",
+ "LICENSE",
+ "README.md",
+ "README_zh-CN.md",
+ "package.json"
+ ],
"scripts": {
"build": "node ./build.mjs"
},
"repository": {
"type": "git",
- "url": "git+https://github.com/HPCesia/hexo-highlight-shiki.git"
+ "url": "git+https://github.com/HPCesia/hexo-highlighter-shiki.git"
+ },
+ "homepage": "https://github.com/HPCesia/hexo-highlighter-shiki",
+ "bugs": {
+ "url": "https://github.com/HPCesia/hexo-highlighter-shiki/issues"
},
"keywords": [
"hexo",
README.md
@@ -13,7 +13,7 @@ Hexo v7.0.0+ is required.
## Installation and Configuration
First, install the plugin:
```shell
-npm install hexo-highlight-shiki --save
+npm install hexo-highlighter-shiki --save
```
Then switch the code highlighting engine in your `config.yml`:
README_zh-CN.md
@@ -13,7 +13,7 @@
## 安装与配置
首先,安装本插件:
```shell
-npm install hexo-highlight-shiki --save
+npm install hexo-highlighter-shiki --save
```
然后在 `config.yml` 中切换代码高亮引擎: