logoalt Hacker News

danielsmoriyesterday at 8:35 PM1 replyview on HN

Nice — CLI-first for document tooling is underrated. How are you handling embedded images in the XML? That was a pain point when I was parsing OOXML in a different context.


Replies

kirillklimukyesterday at 9:18 PM

If the reader needs the images, there's an explicit extract command that gets them into a folder. If the writer needs to update them, there's and explicit replace command and insert commands for that purpose. It all has to go into the relationship files of course.