Skip to content

Commit

Permalink
Merge pull request #149 from jrit/cheerio-node-12
Browse files Browse the repository at this point in the history
v1.4 with CLI docs
  • Loading branch information
jrit committed Aug 19, 2015
2 parents 358d18e + 08ff740 commit 698ced1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
6 changes: 6 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.4.0 / 2015-08-19
==================

* Add extra CSS option to CLI
* CLI has test coverage now

1.3.3 / 2015-07-14
==================

Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ result will be:

## Documentation

Juice is exposed as a standard module, and from CLI with a smaller set of options.

### Options

All juice methods take an options object that can contain any of these properties, though not every method uses all of these:
Expand Down Expand Up @@ -126,6 +128,16 @@ Object of style property names (key) to their respective attribute names (value)

Array of table HTML elements that can receive attributes defined in `juice.styleToAttribute`.


### CLI Options

To use Juice from CLI, run `juice [options] input.html output.html`

Current CLI options:

- `--css [filepath]` will load and inject CSS into `extraCss`.


## Credits

(The MIT License)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "juice",
"version": "1.3.4",
"version": "1.4.0",
"description": "Inlines css into html source",
"bin": "./bin/juice",
"main": "./lib/juice",
Expand Down

0 comments on commit 698ced1

Please sign in to comment.