JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 572
  • Score
    100M100P100Q105250F
  • License MIT

An upload of markdown files to a hierarchy of Notion pages.

Package Exports

  • @vrerv/md-to-notion
  • @vrerv/md-to-notion/build/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vrerv/md-to-notion) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

MD to Notion

An upload of markdown files to a hierarchy of Notion pages.


Build status npm version

Features

  • Upload markdown files to Notion pages with hierarchy
  • Update existing pages if the file name is same. however this is slow as it needs to fetch all pages and remove all blocks before update the page (you can delete root page before running this to create new pages rather updates)
  • internal links are converted to Notion page links
  • Upload images to Notion
  • only updates the blocks if the content is changed

Usage

You need to get Notion API secret and page ID to upload your markdown files. Follow this guide to get the secret and page ID.

See Example Project for live example

CLI

npx @vrerv/md-to-notion --help

This project markdown files are also published as Notion pages by this package. You can see the md-to-notion Notion Page

Requirements

This package supports the following minimum versions:

  • Runtime: node >= 15
  • Type definitions (optional): typescript >= 4.5

Earlier versions may still work, but we encourage people building new applications to upgrade to the current stable.

References