From 4fe7e8399ae5b327396011c1030e3f3d6cad3f38 Mon Sep 17 00:00:00 2001 From: Josh Junon Date: Tue, 17 Jan 2017 12:32:10 -0800 Subject: [PATCH] restructure readme examples --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 0e5085f..efc0c2a 100644 --- a/readme.md +++ b/readme.md @@ -198,12 +198,11 @@ For supported methods (listed below), the color will be 'fit' to the color level Some examples: -For a complete list of color models, see [`color-convert`'s list of conversions](https://github.com/Qix-/color-convert/blob/master/conversions.js). Background versions of these models are prefixed with `bg` and the first level of the module capitalized (e.g. `keyword` for foreground colors and `bgKeyword` for background colors). - - `chalk.hex('#DEADED').underline('Hello, world!')` - `chalk.keyword('orange')('Some orange text')` - `chalk.rgb(15, 100, 204).inverse('Hello!')` +Background versions of these models are prefixed with `bg` and the first level of the module capitalized (e.g. `keyword` for foreground colors and `bgKeyword` for background colors). - `chalk.bgHex('#DEADED').underline('Hello, world!')` - `chalk.bgKeyword('orange')('Some orange text')` @@ -226,6 +225,8 @@ As of this writing, these are the supported color models that are exposed in Cha - `hcg` - `apple` (see [qix-/color-convert#30](https://github.com/Qix-/color-convert/issues/30)) +For a complete list of color models, see [`color-convert`'s list of conversions](https://github.com/Qix-/color-convert/blob/master/conversions.js). + ## Windows If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) instead of `cmd.exe`.