... | ... | @@ -6,11 +6,11 @@ h1. Basic Usage |
|
|
|
|
|
CSSEmbed is used as follows:
|
|
|
|
|
|
bc. java -jar cssembed-0.1.0.jar <options> <css file>
|
|
|
bc. java -jar cssembed-x.y.z.jar <options> <css file>
|
|
|
|
|
|
For example:
|
|
|
|
|
|
bc. java -jar cssembed-0.1.0.jar -v styles.css
|
|
|
bc. java -jar cssembed-x.y.z.jar -v styles.css
|
|
|
|
|
|
The @-v@ or @--verbose@ flags result in additional messages and warnings being output to the console, which can be useful if you run into problems.
|
|
|
|
... | ... | @@ -31,7 +31,7 @@ When CSSEmbed comes across a URL reference in CSS (@url(filename)@), it inspects |
|
|
|
|
|
You can force a specific resolution by using the @--root@ option on the command line and specifying what the root should be. For example:
|
|
|
|
|
|
bc. java -jar cssembed-0.1.0.jar --root http://www.nczonline.net/images styles.css
|
|
|
bc. java -jar cssembed-x.y.z.jar --root http://www.nczonline.net/images styles.css
|
|
|
|
|
|
This causes all image URLs to be prepended with @http://www.nczonline.net/images@ before attempting resolution (this happens only for those URLs that don't already have "http://" at the beginning.
|
|
|
|
... | ... | |