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.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
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…
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.