A simple JavaScript package to convert Notion pages, blocks, and a list of blocks to markdown. Furthermore, it is able to parse nested blocks and one can also add custom parsing logic for specific Notion blocks.
Hello there 👋
I am Souvik Kar Mahapatra aka Souvikinator, creator of notion-to-md.
A quick overview:
What is notion-to-md? 🤔
A simple javascript module that lets you convert notion pages/blocks/block to markdown programmatically.
What Notion blocks does it support? 🤔
1. headings
2. images
3. quotes / callouts
4. links
5. bullets
6. checkbox / todos
7. numbered list
8. inline code
9. code block
10. strikethrough, underline, bold, italic
11. nested blocks
12. embeds, bookmarks, videos, files, link to page (converted to links)
13. Simple tables
14. toggle
15. divider
16. equation block (converted to code blocks)
17. add custom parsing logic for specific blocks
Got questions or want to report an issue? 🙋♂️
Feel free to use comments or open a GitHub issue.
Any feedback is highly appreciated.
Also stay tuned, more interesting products incoming 😉