@scottsidwell/notion-export-to-md

Warning: Super Experimental & Probably Broken

Usage no npm install needed!

<script type="module">
  import scottsidwellNotionExportToMd from 'https://cdn.skypack.dev/@scottsidwell/notion-export-to-md';
</script>

README

Notion Export to Md

Warning: Super Experimental & Probably Broken

Does what it says on the tin.

Give it a Notion page and the appropriate cookie tokens, and this will use Puppeteer to manually trigger the export of all the Markdown pages in a Notion page-tree

Usage

notion-export-to-md --url <page-url> --token_v2 <cookie> --userId <cookie> --output <output-directory>

Future

Hopefully not long-lived. Once Notion provides an API to access it's pages this can be archived. 🤞 for early 2019