Files
koodo-reader/public
troyeguo 62a88687c4 feat: enhance export functionality for notes and highlights
- 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.
2026-05-26 17:07:43 +08:00
..