View Single Post
Old 07-08-2022, 08:06 PM   #5
wealthychef
Junior Member
wealthychef began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jul 2017
Device: iBooks and Kindle and Calibre
Quote:
Originally Posted by kovidgoyal View Post
If you want to export calibre highlights you can do so in multiple formats including markdown and json. As for importing highlights, you would first need to write code to convert the highlights from whatever format they are to the format calibre uses, which will be a pretty non-trivial exercise.
Is the format really that complex? I was thinking to just spit out lines into a file using python. I've done file format conversions before, and it's just a matter of knowing the spec in my experience.

My thinking for storing the highlights in Calibre instead of Apple Books are:
1. I want to own my data
2. I want to use the data in other tools like Obsidian.md and bash scripts

The hard part is figuring out page numbers or file locations for the highlights, because Apple does not store that(!)
wealthychef is offline   Reply With Quote