This plugin aims to make highlight import from Kobo devices easier.
Once installed, the steps to import your highlights directly into the vault are:
- Connect your Kobo device to PC using a proper USB cable
- Check if it has mounted automatically, or mount it manually (e.g. open the root folder of your Kobo using a file manager)
- Open the import window using the plugin button
- Locate KoboReader.sqlite in the .kobo folder ( this folder is hidden, so if you don't see it you should enable hidden files view from system configs )
- Extract
The default template is:
---
title: {{Title}}
author: {{Author}}
publisher: {{Publisher}}
dateLastRead: {{DateLastRead}}
readStatus: {{ReadStatus}}
percentRead: {{PercentRead}}
isbn: {{ISBN}}
series: {{Series}}
seriesNumber: {{SeriesNumber}}
timeSpentReading: {{TimeSpentReading}}
---
# {{Title}}
## Description
{{Description}}
## Highlights
{{highlights}}
Tag | Description | Example |
---|---|---|
highlights | Will get replaced with the extracted highlights. | {{highlights}} |
title | The title of the book. | {{title}} |
author | The author of the book. | {{author}} |
pulbisher | The publisher of the book | {{publihser}} |
dateLastRead | The date the book was last read in ISO format. | {{dateLastRead}} |
readStatus | Can be: Unopened, Reading, Read. | {{readStatus}} |
isbn | The ISBN of the book. | {{isbn}} |
series | The series of which the book is a part of. | {{series}} |
seriesNumber | The position of the book in the series. | {{seriesNumber}} |
timeSpentReading | The time spent reading the book. | {{timeSpentReading}} |
The plugin uses comments as highlight markers, to enable support for keeping existing highlights. All content between these markers will be transferred to the updated file.
%%START-<MARKER IDENTIFIER>%%
%% Here you can type whatever you want, it will not be overwritten by the plugin. %%
%%START-EXTRACTED-HIGHLIGHT-<MARKER IDENTIFIER>%%
...highlight
%%END-EXTRACTED-HIGHLIGHT-<MARKER IDENTIFIER>%%
%% Here you can type whatever you want, it will not be overwritten by the plugin. $$
%%END-<MARKER IDENTIFIER>%%`
Kobo Highlight Importer uses Obsidian callouts for the highlights and annotations imported; Which can be configured individually. Turning this toggle off will fallback to the standard markdown block quotes for highlights only.
Check the documentation to get a list of all available callouts that obsidian offers.
Please feel free to test, send feedbacks using Issues and open Pull Requests to improve the process.