eliascotto / export-kobo

A Python tool to export annotations and highlights from a Kobo SQLite file. Now with web UI.
MIT License
26 stars 2 forks source link

Add chapter headings to export and make flask import modular #3

Closed bringlein closed 7 months ago

bringlein commented 8 months ago

This PR has two contributions

  1. It makes the import of the flask package only in case the webapp is started, so that it is not a mandatory dependency in all cases.
  2. Added a new feature --add-chapter-headings: This feature adds the chapter headings of annotations and highlights to the exported text (without duplicates).
eliascotto commented 7 months ago

Thanks @bringlein great job!