Coder Social home page Coder Social logo

notion_to_hexo's Introduction

Notion_Blog

MIT License

本项目用于快捷将Notion中的笔记同步到个人Blog上

使用Python实现

适用Blog框架

目前仅适配Hexo (Hexo的.config.yaml中需要打开post对应资源文件夹的功能)

目前的实现方案

  1. Hexo的.config.yaml中需要打开post对应资源文件夹的功能
  2. 自行用Notion导出md和相关资源的压缩包 "Export-xxxxx.zip" 到_post文件夹_
  3. 在_post文件夹内运行Notion_Blog.py
  4. 之后的部署中即可自动匹配

存在的问题

Notion导出可能损失部分格式 - 待官方解决

Todo

  • 解决格式损失问题 改进为爬取Notion方案
  • 自行导出太麻烦 改进为自动导出
  • 目前运行目录在其他位置可能会出问题 待测试改进

notion_to_hexo's People

Contributors

asilvorcarp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.