Code Monkey home page Code Monkey logo

onenote-to-markdown's Introduction

onenote-to-markdown

Pre-requisites

  • You must have Pandoc installed on your system and accessible in your system PATH. Check by running pandoc --version in a PowerShell or cmd window.
  • Python version only: You must have Python 3 installed on your system. This README assumes it is accessible via python, but other aliases, such as python3, are fine.
  • Python >= 3.8 seems to have problems with pywin32, it's probably best to stick to Python 3.7

Python Version

There is a quick YouTube video available.

  1. Install the requirements.
pip install -r requirements.txt
  1. Open OneNote (not the "OneNote for Windows 10" app) and ensure the notebook you'd like to convert is open. If you have synchronization with OneDrive enabled, wait for a few moments until all notebooks are synchronized. If you later get an error message, try to run OneNote as administrator.

  2. Run the script as administrator in PowerShell.

python convert.py
  1. Find your converted notes in ~/Desktop/OneNoteExport. You're free to do what you want with the notes now - commit them to Git, open them in obsidian, or whatever.

PowerShell Version

Video/blog post: https://pagekeysolutions.com/blog/misc/onenote-to-markdown

This version is a bit more finnicky. It may fail, but feel free to try! Open PowerShell, navigate to this repo, and run:

.\convert3.ps1

onenote-to-markdown's People

Contributors

stephengrice avatar johannesstutz 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.