From dce1d2b484926d9118257d49e9cbcd6de30e2a6e Mon Sep 17 00:00:00 2001 From: JayPanoz Date: Sun, 30 Apr 2017 10:32:02 +0200 Subject: [PATCH] =?UTF-8?q?Added=20Amazon=20Labs=E2=80=99=20doc=20about=20?= =?UTF-8?q?ION?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ReadingSystems/Kindle/KDF-KFX/KindlePreviewer3.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ReadingSystems/Kindle/KDF-KFX/KindlePreviewer3.md b/ReadingSystems/Kindle/KDF-KFX/KindlePreviewer3.md index 99705da..72ec528 100644 --- a/ReadingSystems/Kindle/KDF-KFX/KindlePreviewer3.md +++ b/ReadingSystems/Kindle/KDF-KFX/KindlePreviewer3.md @@ -78,6 +78,7 @@ When converting a file with Kindle Previewer, which takes some time (yeah, that - the link to the external stylesheets is erased (`head`); - book styles are parsed and inlined to each tag (`style` attribute); +- the book is entirely rendered in phantom.js in order to compute styles; - computed styles are then inlined as well (`computedstyle` attribute). You end up with something like this: @@ -104,6 +105,8 @@ As regards drop caps, Amzn has created its own non-standard style properties whi And now to the **ion** data representation… +[Here is Amazon Labs’ documentation.](https://amznlabs.github.io/ion-docs/) + I don’t really want to make it obscure so if you want further details, check [this post](http://www.mobileread.com/forums/showpost.php?p=3269649&postcount=360). You can also check `ionnames.csv` ([link](https://github.com/FriendsOfEpub/WillThatBeOverriden/blob/master/ReadingSystems/Kindle/KDF-KFX/ionnames.csv)). You’ll see `epub:type` and CSS properties + values in there so maybe we could build a list of supported styles from here.