Skip to content

Commit

Permalink
Add reference to rehype-preset-minify
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Sep 9, 2016
1 parent 9c62b7d commit d07fd2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var markdown = require('remark-parse');
var toc = require('remark-toc');
var remark2rehype = require('remark-rehype');
var document = require('rehype-document');
var minify = require('rehype-preset-minify');
var html = require('rehype-stringify');

process.stdin
Expand All @@ -32,6 +33,7 @@ process.stdin
.use(toc)
.use(remark2rehype)
.use(document)
.use(minify)
.use(html)
.pipe(process.stdout);
```
Expand Down

0 comments on commit d07fd2b

Please sign in to comment.