Update package name, README, and repository info
This commit is contained in:
parent
7534436b7f
commit
ef3def16d0
@ -13,7 +13,7 @@ Hexo v7.0.0+ is required.
|
|||||||
## Installation and Configuration
|
## Installation and Configuration
|
||||||
First, install the plugin:
|
First, install the plugin:
|
||||||
```shell
|
```shell
|
||||||
npm install hexo-highlight-shiki --save
|
npm install hexo-highlighter-shiki --save
|
||||||
```
|
```
|
||||||
|
|
||||||
Then switch the code highlighting engine in your `config.yml`:
|
Then switch the code highlighting engine in your `config.yml`:
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
## 安装与配置
|
## 安装与配置
|
||||||
首先,安装本插件:
|
首先,安装本插件:
|
||||||
```shell
|
```shell
|
||||||
npm install hexo-highlight-shiki --save
|
npm install hexo-highlighter-shiki --save
|
||||||
```
|
```
|
||||||
|
|
||||||
然后在 `config.yml` 中切换代码高亮引擎:
|
然后在 `config.yml` 中切换代码高亮引擎:
|
||||||
|
15
package.json
15
package.json
@ -1,14 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": "hexo-highlight-shiki",
|
"name": "hexo-highlighter-shiki",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "A package for Hexo which use Shiki to render code highlight.",
|
"description": "A package for Hexo which use Shiki to render code highlight.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
"files": [
|
||||||
|
"dist",
|
||||||
|
"LICENSE",
|
||||||
|
"README.md",
|
||||||
|
"README_zh-CN.md",
|
||||||
|
"package.json"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node ./build.mjs"
|
"build": "node ./build.mjs"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"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": [
|
"keywords": [
|
||||||
"hexo",
|
"hexo",
|
||||||
|
Loading…
Reference in New Issue
Block a user