I mainly use trillium and want to import my notes. Unsure how to do it without windows. Even with windows the instructions seem unclear
Edit: Here’s what I did: I got my partner’s windows computer and put my onenote notebook on it via file transfer. Then I made folders for every notebook and subnotebook. Finally I would through each section and exported it as a docx. Then I found an app on fedora that can convert docx to anything, and I chose markdown. Then imported these into Trilium. I could have exported each note but that would have taken 10x as long and the section export feature makes clear new notes.
Final comment: importing markdown into Trilium took one second. For formatting sake, I tried to import html as well and it crash the app.
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.
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…
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
You can convert using Evernote as an intermediary: https://github.com/zadam/trilium/wiki/Onenote
You’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…
Removed by mod
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.
:/ Sad.