Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including notion-md-pdf with all npm packages installed. Try it out:

var notionMdPdf = require("notion-md-pdf")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

notion-md-pdf v0.1.1

Converts Markdown files exported from Notion to PDFs


Converts Notion-exported Markdown files into PDFs



yarn global add notion-md-pdf


npm install notion-md-pdf -g


notion-md-pdf ~/
# Conversion completed: ~/Document-Name-XXXXXX-1.pdf

Supported Operating Systems

Linux (64-bit) and Windows (64-bit) OS are supported.

Mac OS X is currently unsupported due to implementation of wkhtmltopdf. Support to come in a later release.


Feel free to submit a pull request, be respectful, etc. You know the deal!


This project is licensed under the MIT License - see the LICENSE file for details


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free