Commit Graph
7 Commits
Author SHA1 Message Date
pj 983d8fd2c0 fix(import): keep table rows together
Tables were flattened to one paragraph per cell, losing row grouping.
Join each row's cells into a single paragraph so the row structure
survives (the model has no table node).

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:37:31 -04:00
pj f4079a6f54 fix(import): keep inline svg and unresolved image alt text
Inline svg elements were dropped entirely and an img whose source could
not be resolved was discarded. Serialize a standalone svg to a
data:image/svg+xml figure, and fall back to an unresolved image's alt
text as a paragraph instead of losing it.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:36:50 -04:00
pj a54e7a42ef fix(import): preserve link, underline, strike and code marks
EPUB import only mapped bold and italic; a, u, s/del/strike and code
elements lost their formatting (kept as plain text). Map them to the
matching marks, consistent with what the exporters now render.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:36:07 -04:00
pj 0e0d334f6a changes 2026-06-20 23:46:10 -04:00
pj c86d5a7d5c changes 2026-06-20 19:48:18 -04:00
pj 734ded73ac changes 2026-06-20 19:23:28 -04:00
pj 406cd1289c feat(epub): parse EPUB files into a Book (importer) 2026-06-20 18:36:18 -04:00