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

How does this compare to the export to markdown option in Notion? #99

Open justin808 opened 11 months ago

souvikinator commented 11 months ago

It's a simple javascript module that lets you convert notion pages/blocks/block to markdown programmatically. Why programatically? There are many use cases one being people using Notion as their CMS and moving things from notion to other place like Blogs / Exports / Websites. They can use this package in their workflow (one time setup) and use their notion content directly on the above mentioned sites.

One of the distinct feature is that it allows you to add custom markdown syntax for a specific block.

Also since notion API doesn't provide any way to do so, this is more like an addon to notion sdk.

I personally built it to streamline the workflow of my blog, I just need to write the content and I have a script running this package that check everyday for new content and converts it to MD and sends it to my HUGO site.

I hope this answers your question

kmlbgn commented 8 months ago

@souvikinator thanks for the clarification. I was wondering, does it handle databases in table view as of today ? ( #22 )