6.0.0 • Published 4 years ago
@notion-stuff/blocks-markdown-parser v6.0.0
@notion-stuff/blocks-html-parser
This 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.
Installation
npm install @notion-stuff/blocks-markdown-parser
@notion-stuff/blocks-markdown-parserdepends on@notionhq/client
Usage
- Get the parser instance with
NotionBlocksMarkdownParser.getInstance()- Optionally pass in a
NotionBlocksMarkdownParserOptionsobject to customize the parser. The passed-in option will be merged with the default options.
- Optionally pass in a
- Call
instance.parse(blocks)withblocksbeingBlock[]that you'd get from a Notion page.
Configuration
export interface NotionBlocksMarkdownParserOptions {}6.0.0
4 years ago
5.1.0
4 years ago
5.0.0
4 years ago
4.0.0
4 years ago
3.2.0
4 years ago
3.1.3
4 years ago
3.1.2
4 years ago
3.1.1
4 years ago
3.1.0
4 years ago
3.0.0
4 years ago
2.3.0
4 years ago
2.2.1
4 years ago
2.2.0
4 years ago
2.3.2
4 years ago
2.4.0
4 years ago
2.3.1
4 years ago
2.2.2
4 years ago
2.0.3
4 years ago
2.1.1
4 years ago
2.0.5
4 years ago
2.0.4
4 years ago
2.1.0
4 years ago
2.0.2
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago