New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

typo-tools

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typo-tools

排版优化工具

latest
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

背景

在编写技术文档时,需要注意一些中英文的常见排版问题,比如大小写、标点符号等问题( 具体可参考排版)。

本工程利用程序辅助作者编写文章,拥有优化排版、纠正专有名词拼写、纠正标点符号使用等能力

能力预览

使用

整合语雀

语雀拥有良好的编辑文档体验,本工具默认提供油猴子脚本,供语雀编辑文档使用。

1、 安装油猴子

Chrome 点击这里安装

2、添加脚本

  • 访问油猴子脚本进行安装
  • 或者自行创建新的油猴子脚本,并且复制 dist/index.js 代码到脚本中

其他

  • 内部基于 pangu.js
  • 去掉了 pangu.js 中的双引号单引号和括号两侧的空格规则,具体可看 src/pangu/core.js 中 // remove by shiba 部分
  • 自定义规则
  • 中英文省略号使用错误
  • 自定义省略号如“。。。。”、“......” 的错误
  • 连续使用多个叹号的错误
  • …… 具体可查看 src/index.js 中的 “自定义规则”
  • 专有名词拼写纠正。 如 jquery(正确的是 jQuery)、golang(正确的是 Golang)、spring boot(正确的是 Spring Boot)等。 持续更新

FAQs

Package last updated on 29 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts