Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
View HTML: adds Prettify button to CSS viewer, other fixes #4282
Oct 23, 2018
1 check passed
Mostly because I like to see the original state of things (and what's fed to crengine): the original CSS content of the book may be minified and unreadable in some books, but it may as well already be pretty in other books, with some other defaults for spacing, indentation, some comments, multiple line feeds to separate sections...
And because the prettification is a bit quick and rough (a few regexps, no real css grammar rules), and it may mess with the original CSS code (I hope not, but for example, any comma in a comment will make a new line, so
So, it's more like an alternative view :)