Fix usage example in the readme (#251)
This commit is contained in:
parent
6554030550
commit
011dd0421e
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ const chalk = require('chalk');
|
|||
const log = console.log;
|
||||
|
||||
// Combine styled and normal strings
|
||||
log(chalk.blue('Hello') + 'World' + chalk.red('!'));
|
||||
log(chalk.blue('Hello') + ' World' + chalk.red('!'));
|
||||
|
||||
// Compose multiple styles using the chainable API
|
||||
log(chalk.blue.bgRed.bold('Hello world!'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue