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 89 forks source link

missing/insufficient newlines after <details> tags #91

Closed ge9 closed 1 year ago

ge9 commented 1 year ago

input: image output:

<details>
  <summary>summary1</summary>

detail1

  </details>- bullet1
    - bullet2

(some text)

<details>
  <summary>summary2</summary>

detail2

  </details>
### heading3

(At least in VS Code preview or Github preview) bullet list (- xxx) and headings (### xxx) seem to require at least two newlines before them, but in the above output, there are no newlines and only one newline, respectively.

souvikinator commented 1 year ago

Thanks for reporting the issue. I'll get into and it should be live in the upcoming release.