https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter
基于正则表达式实现全局英文标点符号转换成中文标点符号的 Gitbook 插件
https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter
gitbook-plugin punctuation punctuation-converter
Last synced: 4 months ago
JSON representation
基于正则表达式实现全局英文标点符号转换成中文标点符号的 Gitbook 插件
- Host: GitHub
- URL: https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter
- Owner: snowdreams1006
- License: mit
- Created: 2020-03-26T17:25:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T06:18:44.000Z (almost 2 years ago)
- Last Synced: 2025-05-02T04:17:10.890Z (about 1 year ago)
- Topics: gitbook-plugin, punctuation, punctuation-converter
- Language: JavaScript
- Homepage: https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter/
- Size: 884 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 欢迎访问 gitbook-plugin-punctuation-converter 官网 👋
[](https://www.npmjs.com/package/gitbook-plugin-punctuation-converter)
[](https://www.npmjs.com/package/gitbook-plugin-punctuation-converter)
[](https://www.npmjs.com/package/gitbook-plugin-punctuation-converter)
[](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter#readme)
[](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/graphs/commit-activity)
[](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/LICENSE)
[](https://github.com/snowdreams1006)
[](https://snowdreams1006.github.io/snowdreams1006-wechat-public.jpeg)
> 基于正则表达式实现全局英文标点符号转换成中文标点符号的 Gitbook 插件
## 屏幕截图

## 用法
### 步骤#1 - 更新 `book.json` 文件
在您的 `gitbook` 的 `book.json` 文件中,将 `punctuation-converter` 添加到 `plugins` 列表中.
这是最简单的示例:
```json
{
"plugins": ["punctuation-converter"]
}
```
### 步骤#2 - 运行 `gitbook` 命令
1. 运行 `gitbook install` .它将自动为您的 `gitbook` 安装 `punctuation-converter` 插件.
> 该步骤仅需要允许一次即可.
```bash
gitbook install
```
或者您可以运行 `npm install gitbook-plugin-punctuation-converter` 命令本地安装 `gitbook-plugin-punctuation-converter` 插件.
```bash
npm install gitbook-plugin-punctuation-converter
```
2. 像往常一样构建您的书( `gitbook build` )或服务( `gitbook serve` ).
```bash
gitbook serve
```
## 示例
- 示例`book.json`文件
```json
{
"plugins": ["punctuation-converter"]
}
```
**注意** :如果您的书还没有创建,以上代码段可以用作完整的 `book.json` 文件.
## 作者
👤 **snowdreams1006**
- 网站 : [snowdreams1006.tech](https://snowdreams1006.tech/)
- GitHub : [@snowdreams1006](https://github.com/snowdreams1006)
- 电子邮件 : [snowdreams1006@163.com](mailto:snowdreams1006@163.com)
## 贡献
欢迎贡献,问题和功能要求!随时检查[问题页面](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/issues) 。
## 支持
如果这个项目对您有帮助,请给个[星星](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter) !

## 版权
版权所有©2019 [snowdreams1006](https://github.com/snowdreams1006) 。
该项目是[MIT](https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/LICENSE)许可的。