I’m writing an EPUB tutorial book on using WebGL with EPUB (just for fun and as an example for the Readium samples page). It leverages three.js so I have a whole bunch of JS examples in the book. I wanted to make it look good so I am using
prism-js. It works great inside the EPUB but when I run epubcheck I get this error:
ERROR(CSS-001): ./Sandbox-NeHe-EPUB.epub/EPUB/css/prism.css(14,2): The 'direction' property must not be included in an EPUB Style Sheet.
I don’t want to go in an hack prism’s JavaScript. It seems rude of EPUBCheck to complain about third party libraries like this. Is there a way to work around this? I can get the non-minified version and modify it, but that seems rude. Not to mention I have keep repeating it.
Thoughts?
Thanks
Ric