Skip to main content

notion2vuepress

Project description

notion2vuepress

notion2vuepress is a Python package that seamlessly converts Notion notes (including text, images, and formatting) into VuePress-compatible Markdown files. Effortlessly migrate concept-based documents or blogs to a VuePress powered website while preserving structure and style. Simplify your workflow and enhance publishing capabilities.

提示

目前只是初步的实现,尽情期待后面的封装以及自动化的过程

大致架构图

获取token_v2

  1. F12进入开发者模式

获取图片的token

如果图片保存在notion上用到

得到一直图片连接访问即可

获取文章的id(page_id)

https://www.notion.so/youyizhang/git-9cad24555c3648b1a902333128bf1a0d?pvs=4

id = 9cad24555c3648b1a902333128bf1a0d

运行的时候报错需要重新装包 notion-cobertos-fork

1. pip uninstall notion-cobertos-fork
2. pip install notion-cobertos-fork

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notion2vuepress-1.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

notion2vuepress-1.0.1-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page