5.1.9 • Published 2 years ago

@benlorantfy/notion-blocks-markdown-parser v5.1.9

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@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-parser depends on @notionhq/client

Usage

  1. Get the parser instance with NotionBlocksMarkdownParser.getInstance()
    1. Optionally pass in a NotionBlocksMarkdownParserOptions object to customize the parser. The passed-in option will be merged with the default options.
  2. Call instance.parse(blocks) with blocks being Block[] that you'd get from a Notion page.

Configuration

export interface NotionBlocksMarkdownParserOptions {}
5.1.9

2 years ago

5.1.8

2 years ago

5.1.7

2 years ago

5.1.5

2 years ago

5.1.6

2 years ago

5.1.4

2 years ago

5.1.3

2 years ago

5.1.2

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago