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.11k stars 91 forks source link

Content in a second column is rendered as a code block #29

Closed victornpb closed 2 years ago

victornpb commented 2 years ago

If you convert this page for example:

https://www.notion.so/d17c100b8ca94ffbacc694306461c1d1

image

Is rendered like this:

image

I know markdown doesn't support columns but I think it makes more sense to render the column as just inline content.

Also should image caption be used as img alt?

souvikinator commented 2 years ago

Hey there, thanks for reporting. Due to certain issues, the indentation of the block is wrong which is why it is being rendered as a code block.

I will fix and create a new release.

About the issue related to image caption: it is already implemented, here is the pr https://github.com/souvikinator/notion-to-md/pull/12 . Try updating notion-to-md to the latest version. (v2.3.2)

souvikinator commented 2 years ago

@victornpb the issue is now fixed in v2.3.3 Feel free to reopen the issue for further questions.

victornpb commented 2 years ago

thank you!