-
-
Notifications
You must be signed in to change notification settings - Fork 95
Home
Souvik edited this page Jan 29, 2022
·
4 revisions
Welcome to the notion-to-md wiki!
It's a simple javascript module that lets you convert notion pages/blocks/block to markdown programmatically.
npm i notion-to-md@latest
and you are good to go
- This package depends on @notionhq/client and needs to be installed separately.
- heading
- images
- quotes
- links
- bullets
- todo
- inline code
- code block
- strikethrough, underline, bold, italic
- nested blocks
- callouts
- embeds, bookmarks, videos, files (converted to links)
- Simple tables
- divider
- equation block (converted to code blocks)
- convert returned markdown object to string (toMarkdownString())
- typescript support
- pages inside pages/child page
- add tests