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.

Readme

Keywords

Package Sidebar

Install

npm i remark-lint-haiku

Weekly Downloads

4

Version

0.3.0

License

MIT

Unpacked Size

3.76 kB

Total Files

4

Last publish

Collaborators

  • katydecorah