On Linux, what's the best way to convert a onenote.zip notebook to markdown or html?
from ocean@lemmy.selfhostcat.com to linux@lemmy.ml on 20 Feb 05:40
https://lemmy.selfhostcat.com/post/170123

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.

#linux

threaded - newest

JustAnotherKay@lemmy.world on 20 Feb 06:01 next collapse

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

Dungrad@feddit.org on 20 Feb 07:39 next collapse

Maybe duck.ai? Worth a try.

andrewth09@lemmy.world on 20 Feb 08:51 collapse

This lead to github.com/theohbrothers/ConvertOneNote2MarkDown

However, this has some restrictive OS requirements so it may not be applicable.

Dungrad@feddit.org on 20 Feb 08:57 collapse

:/ Sad.

SEO-Nayan76@gehirneimer.de on 20 Feb 08:17 next collapse

Great work, Antor! It's impressive to see your dedication to driving organic growth through strategic SEO practices. Your data-driven approach clearly adds value to businesses looking to improve their online visibility. Keep up the fantastic work!

For those interested in exploring SEO insights further, check out this Markdown-viewer to streamline content presentation.

BananaTrifleViolin@lemmy.world on 20 Feb 11:39 next collapse

You can convert using Evernote as an intermediary: 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.

ocean@lemmy.selfhostcat.com on 20 Feb 13:32 collapse

Thanks! I tried that method with a VM and it got stuck trying to connect to internet even though it had access. Weird…

VE7WYC@lemmy.radio on 20 Feb 20:57 next collapse

Obsidian saves in markdown format, and can import your OneNote in one shot.

help.obsidian.md/import/onenote

IrritableOcelot@beehaw.org on 21 Feb 07:18 collapse

Obsidian isn’t open source, but it’s so solid I almost don’t care…

starshipwinepineapple@programming.dev on 21 Feb 13:37 collapse

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.