1.0.2 • Published 4 years ago

@web-clipper/remark-pangu v1.0.2

Weekly downloads
53
License
MIT
Repository
github
Last release
4 years ago

remark-pangu

travis build version MIT License semantic-release

给 Markdown 中英文自动插入空格的 remark 插件(使用 pangu.js)。

Install

npm install remark-pangu

Usage

remark().use(pangu)
const remark = require('remark')
const pangu = require('remark-pangu')

const doc = '中文abc中文';
remark().use(pangu).process(doc, (err, file) => {
  console.log(String(file));
});
// => 中文 abc 中文

LICENSE

MIT