Golang library with simple CSS parser and HTML inliner.
See associated "douceur" binary for a basic command-line executable of this
library.
.
Parser is vaguely inspired by CSS Syntax Module Level 3
(https://www.w3.org/TR/css-syntax-3/) and corresponding JS parser
(https://github.com/tabatkins/parse-css).
.
Inliner only parses CSS defined in HTML document; it DOES NOT fetch
external stylesheets (for now). Inliner inserts additional attributes when
possible.
.
Similar projects
* premailer (https://github.com/premailer/premailer)
* roadie (https://github.com/Mange/roadie)
Installed Size: 81.9 kB
Architectures: all