This is a parser to parse Notion blocks to Markdown. If you're here, you are probably aware of the [Notion API](https://developers.notion.com/), which is currently in beta. Hence, this parser is being updated (trying to) as the Notion API is updated.
npm install @notion-stuff/blocks-markdown-parserThis is a parser to parse Notion blocks to Markdown. If you're here, you are probably aware of the Notion API, which is currently in beta. Hence, this parser is being updated (trying to) as the Notion API is updated.
``bash`
npm install @notion-stuff/blocks-markdown-parser
> @notion-stuff/blocks-markdown-parser depends on @notionhq/client
1. Get the parser instance with NotionBlocksMarkdownParser.getInstance()NotionBlocksMarkdownParserOptions
1. Optionally pass in a object to customize the parser. The passed-in option will be merged with the default options.instance.parse(blocks)
2. Call with blocks being Block[] that you'd get from a Notion page.
`ts``
export interface NotionBlocksMarkdownParserOptions {}