On Linux, what's the best way to convert a onenote.zip notebook to markdown or html?
-
I mainly use trillium and want to import my notes. Unsure how to do it without windows. Even with windows the instructions seem unclear
-
L [email protected] shared this topic
-
I did s bit of poking around. It looks like there's a tool on GitHub for this exact purpose, or you can just save to a .docx from OneNote then use pandoc to convert to markdown
-
Maybe https://duck.ai/? Worth a try.
-
This lead to https://github.com/theohbrothers/ConvertOneNote2MarkDown
However, this has some restrictive OS requirements so it may not be applicable.
-
You can convert using Evernote as an intermediary:
https://github.com/zadam/trilium/wiki/OnenoteYou'd need to hunt down a copy but there are mirrors since Evernote ended legacy version, and it'd need to be set up in wine to run in linux but it should do the job.
-
Thanks! I tried that method with a VM and it got stuck trying to connect to internet even though it had access. Weird…
-
Obsidian saves in markdown format, and can import your OneNote in one shot.
-
Obsidian isn't open source, but it's so solid I almost don't care...
-
The best way i found was obsidians import which was what i was trying to avoid. I was making standalone markdown files and after the import i needed to do some cleaning since obsidian or onenote did OCR on the images to create alt text but quotes in the alt text broke image links.