remark-lint-haiku

0.3.0 • Public • Published

remark-lint-haiku

A remark-lint plugin to assert haiku is in 5, 7, 5 syllable pattern. Uses syllable for counting syllables.

Install

npm install remark-lint-haiku

Example

ok.md

Input

# My haiku

```haiku
Parallelogram
I tried to cut from fabric
I cut a rhombus
```

Output

No messages.

not-ok.md

Input

# My haiku

```haiku
Parallelogram
I tried to cut from my fabric
I cut a rhombus
```

Output

3:1-7:4: "I tried to cut from my fabric" (8), it should have 7 syllables.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.02latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.02
0.2.00

Package Sidebar

Install

npm i remark-lint-haiku

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

3.76 kB

Total Files

4

Last publish

Collaborators

  • katydecorah