diff --git a/ReadMe.md b/ReadMe.md index 89fd0d3..0f855fa 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -98,6 +98,12 @@ To disable colors you can pass the following arguments in the command line to yo node myapp.js --no-color ``` +## Console.log [string substitution](http://nodejs.org/docs/latest/api/console.html#console_console_log_data) + +var name = 'Marak'; +console.log(chalk.green('Hello %s'), name); +// outputs -> 'Hello Marak' + ## Custom themes ### Using standard API