souvikinator / notion-to-md

Convert notion pages, block and list of blocks to markdown (supports nesting and custom parsing)
https://www.npmjs.com/package/notion-to-md
MIT License
1.08k stars 90 forks source link

Lists are created with an extra empty line between rows #41

Closed dotansimha closed 2 years ago

dotansimha commented 2 years ago

Hi @souvikinator :)

We noticed an issue with the output of lists. We have the following Notion page (public): https://www.notion.so/Roadmap-232f99f86aa34383bac5d72e53aa24b7

This is how it looks like on Notion:

image

We are converting the Notion page to Markdown and then publish it to GitHub as issue/discussion, and this is the result: https://github.com/dotansimha/graphql-yoga/issues/1358

image

It seems like there is an additional line break between list rows:

image
souvikinator commented 2 years ago

Yep! I can reproduce it. Will fix the issue and create a release shortly. Thanks for reporting.

dotansimha commented 2 years ago

Thank you! I saw you bumped to 2.5.1 but release is not yet on npm?

souvikinator commented 2 years ago

Yes! now it's live on NPM as well. Thanks for the contribution :))

souvikinator commented 2 years ago

Closing the issue. Make sure to reopen this if the issue still persists.