Update package name, README, and repository info

This commit is contained in:
HPCesia 2024-10-19 18:25:29 +08:00
parent 7534436b7f
commit ef3def16d0
3 changed files with 15 additions and 4 deletions

View File

@ -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`:

View File

@ -13,7 +13,7 @@
## 安装与配置
首先,安装本插件:
```shell
npm install hexo-highlight-shiki --save
npm install hexo-highlighter-shiki --save
```
然后在 `config.yml` 中切换代码高亮引擎:

View File

@ -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",