4 ms·
I wrote and use an editor similar to Scrivener that allows the user to edit in Markdown, but saves the project as XML. Images are saved as nodes with a mimetype
by thomascgalvin 7y ago
I wrote and use an editor similar to Scrivener that allows the user to edit in Markdown, but saves the project as XML. Images are saved as nodes with a mimetype and a Base64-encoded byte array, and referenced in the document with a UUID.
HTML also allows you to specify an image inline using Base64 encoding; soemthing like
<img src="data:image/png;base64, fhfhfhfh...">
I don't know what FB2 does, but it's definitely a solvable problem.
- rnhmjoj 7y agoReading the wikipedia article[1] this is exactly what it does. [1]: https://en.wikipedia.org/wiki/FictionBook#Differences_from_other_ebook_formats https://en.wikipedia.org/wiki/FictionBook#Differences_from_o...