douceur

simple CSS parser and inliner in Go (program)

Description

This package provides douceur, a simple CSS parser and HTML inliner.

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).

Parse a CSS file and display result:
  $ douceur parse inputfile.css

Inline CSS in an HTML document and display result:
  $ douceur inline inputfile.html

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/aymerick/douceur


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install douceur