1.3.1 • Published 6 years ago

@anydown/maildown v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

これは?

Markdown から日本企業っぽいメールに変換します。

dependencies Status

npm version

NPM から利用する

npm install @anydown/maildown

const maildown = require("@anydown/maildown");

const converted = maildown(`## test

# test

- this
- is
- test
`, {lineLength: 70});

console.log(converted);
//>  ■test
//>  【test】
//>   ・this
//>   ・is
//>   ・test

Options

オプション名説明デフォルト
lineLength1行の最大文字長70