README
欢迎访问 gitbook-plugin-punctuation-converter 官网 👋
基于正则表达式实现全局英文标点符号转换成中文标点符号的 Gitbook 插件
主页
🏠- Github : https://snowdreams1006.github.io/gitbook-plugin-punctuation-converter/
- GitLab: https://snowdreams1006.gitlab.io/gitbook-plugin-punctuation-converter/
- Gitee : https://snowdreams1006.gitee.io/gitbook-plugin-punctuation-converter/
屏幕截图
用法
book.json
文件
步骤#1 - 更新 在您的 gitbook
的 book.json
文件中,将 punctuation-converter
添加到 plugins
列表中.
这是最简单的示例:
{
"plugins": ["punctuation-converter"]
}
gitbook
命令
步骤#2 - 运行 - 运行
gitbook install
.它将自动为您的gitbook
安装punctuation-converter
插件.
该步骤仅需要允许一次即可.
gitbook install
或者您可以运行 npm install gitbook-plugin-punctuation-converter
命令本地安装 gitbook-plugin-punctuation-converter
插件.
npm install gitbook-plugin-punctuation-converter
- 像往常一样构建您的书(
gitbook build
)或服务(gitbook serve
).
gitbook serve
示例
- 官方文档配置文件
https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/docs/book.json
{
"plugins": ["punctuation-converter"]
}
- 官方示例配置文件
https://github.com/snowdreams1006/gitbook-plugin-punctuation-converter/blob/master/example/book.json
{
"plugins": ["punctuation-converter"]
}
- 示例
book.json
文件
{
"plugins": ["punctuation-converter"]
}
注意 :如果您的书还没有创建,以上代码段可以用作完整的 book.json
文件.
作者
👤 snowdreams1006
- 网站 : snowdreams1006.tech
- GitHub : @snowdreams1006
- 电子邮件 : snowdreams1006@163.com
贡献
欢迎贡献,问题和功能要求!随时检查问题页面 。
支持
如果这个项目对您有帮助,请给个星星 !
版权
版权所有©2019 snowdreams1006 。
该项目是MIT许可的。