JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 562
  • Score
    100M100P100Q105289F
  • 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. only update changed blocks.
  • internal links are converted to Notion page links
  • Upload images to Notion

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

Update all markdown files current directory to Notion page

npx @vrerv/md-to-notion -t <notion-api-secret> -p <notion-page-id> .

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