wooorm / remark-preset-wooorm

Personal markdown (and prose) style

Home Page:https://unifiedjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line breaks are weird? Is there a way to configure this?

niftylettuce opened this issue · comments

For example, this input:

[npm]: https://github.com/npm/npm
[sao]: https://github.com/egoist/sao
[node]: https://nodejs.org
[xo]: https://github.com/sindresorhus/xo
[prettier]: https://github.com/prettier/prettier
[ava]: https://github.com/avajs/ava
[babel]: https://github.com/babel/babel
[remark]: https://github.com/wooorm/remark
[nyc]: https://github.com/istanbuljs/nyc

Gets changed to this:

[npm]: https://github.com/npm/npm

[sao]: https://github.com/egoist/sao

[node]: https://nodejs.org

[xo]: https://github.com/sindresorhus/xo

[prettier]: https://github.com/prettier/prettier

[ava]: https://github.com/avajs/ava

[babel]: https://github.com/babel/babel

[remark]: https://github.com/wooorm/remark

[nyc]: https://github.com/istanbuljs/nyc

Why is that? Is this configurable somehow?

commented

This project is my personal style guide. This "problem" (in quotes, because I don't think it is an issue) has to do with how markdown is compiled (remark-stringify).

Definitions are block-level nodes. All block-level nodes get a blank line between them. You could create a plugin like remark-heading-gap if you'd like something different.