mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-11 17:34:57 -04:00
- Added `toBlob` utility function to convert content strings to Blob objects with appropriate MIME types. - Implemented `groupByBook` function to group notes and highlights by book name. - Introduced `sanitizeFileName` function to replace illegal characters in file names with underscores. - Created `convertNotesData` and `convertHighlightsData` functions to convert notes and highlights to various text formats. - Updated `exportNotes` and `exportHighlights` functions to support exporting multiple books as ZIP files, including individual files for each book. - Refactored PDF generation logic to handle multiple books and fallback to HTML if necessary. - Improved overall code organization and readability.