Skip to content

Instantly share code, notes, and snippets.

View C0rporeus's full-sized avatar
🎯
Focusing

Yonathan Gutierrez Rodríguez - F3nr1r C0rporeus

🎯
Focusing
View GitHub Profile
@heardk
heardk / OneNote-to-MD.md
Last active February 22, 2025 13:04
Convert notes from OneNote into Markdown

Converting One Note to Markdown

This is an example of how to convert notes from OneNote into Markdown to use in other, less annoying Note applications. I am using PowerShell on Windows here, but other shell/scripting environments would work as well. If you want separate .md files, you'll need to export your OneNote pages separately. Exporting a section, or a selection of pages creates a single .docx file.

  • Download and install Pandoc
  • Export each of your note pages to a .docx (Word) format using OneNote export from the File menu
  • Gather all of these .docx files into a directory
  • Open directory in File Explorer
  • Open Powershell from the File Explorer using File -> Open Windows Powersell
  • Run the following command: