markdown-it-cjk-breaks

Plugin for markdown-it that suppresses linebreaks between asian characters.
Normally newlines in a markdown text get rendered as newlines in output html text. Then browser will render those newlines as whitespace as per html spec. This plugin finds and removes newlines occuring between two east asian characters to prevent undesirable whitespace.
Install
yarn add markdown-it-cjk-breaks
Usage
var md = require('markdown-it')();
var cjk_breaks = require('markdown-it-cjk-breaks');
md.use(cjk_breaks);
md.render(`
あおえ
うい
aoe
ui
`);
License
MIT