npm.io
0.0.32 • Published 2 years ago

remark-heading-trailing-spaces

Licence
MIT
Version
0.0.32
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
235

This plugin removes trailing spaces from Markdown headers.

Examples, here · represents a space

Header
------··

### H3···

H1··
=

H2
--··

Result:

<h2>Header</h2>
<h3>H3</h3>
<h1>H1</h1>
<h2>H2</h2>

Keywords