danielmaques / epub_reader_highlight

ePub reader
MIT License
18 stars 5 forks source link

How can I use a CSS file inside an EPUB to apply styles? #2

Open mohamedtanna opened 2 months ago

mohamedtanna commented 2 months ago

I am trying to use a CSS file inside the EPUB to apply styles to the rendered HTML. However, I noticed that the rendered HTML is split into text for highlighting purposes. Could you please advise on how to map the CSS styles to the rendered HTML under these circumstances?

Thank you for your assistance.

danielmaques commented 2 months ago

Currently, the text style is being set internally in the package. I will release an update soon to fix this. @mohamedtanna

mohamedtanna commented 2 months ago

Thanks Daniel , do you have any idea when this might be fixed? Also, can you add support for horizontal view and pagination to split chapters into pages?

Regards

On Fri, Aug 30, 2024, 10:48 PM Daniel Marques @.***> wrote:

Currently, the text style is being set internally in the package. I will release an update soon to fix this. @mohamedtanna https://github.com/mohamedtanna

— Reply to this email directly, view it on GitHub https://github.com/danielmaques/epub_reader_highlight/issues/2#issuecomment-2322233597, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADMGFZQGLBCLJYRLUSIY2KDZUDEBDAVCNFSM6AAAAABNHTPNFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRSGIZTGNJZG4 . You are receiving this because you were mentioned.Message ID: @.***>