From d6b69d3c4d271e178da858cc207c486c2bf8b637 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 26 Apr 2017 11:10:17 +0200 Subject: [PATCH] Fix examples in docs --- doc/getting-started.md | 2 +- packages/rehype-cli/readme.md | 2 +- packages/rehype-stringify/readme.md | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/getting-started.md b/doc/getting-started.md index 41cf7fb0..c7488b52 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -36,7 +36,7 @@ command line. Its interface is provided by [**unified-args**][unified-args]. Install [`rehype-cli`][cli] and dependencies with [npm][]: ```bash -npm install --global rehype-cli rehype-minify +npm install --global rehype-cli rehype-preset-minify ``` `index.html` contains: diff --git a/packages/rehype-cli/readme.md b/packages/rehype-cli/readme.md index c14bd408..61fb6af8 100644 --- a/packages/rehype-cli/readme.md +++ b/packages/rehype-cli/readme.md @@ -21,7 +21,7 @@ npm install rehype-cli ```bash # Minify `index.html` with `rehype-preset-minify` -$ rehype index.html -u preset-minify --output +$ rehype index.html --use preset-minify --output ``` ## CLI diff --git a/packages/rehype-stringify/readme.md b/packages/rehype-stringify/readme.md index 80cca23d..d4b62e63 100644 --- a/packages/rehype-stringify/readme.md +++ b/packages/rehype-stringify/readme.md @@ -29,7 +29,6 @@ var processor = unified() entities: {useShortestReferences: true} }) - process.stdin .pipe(createStream(processor)) .pipe(process.stdout);