ansi-colors icon indicating copy to clipboard operation
ansi-colors copied to clipboard

Minor edit needed

Open pohlkat opened this issue 6 years ago • 4 comments

Usage

const c = require('ansi-colors');

console.log(c.red('This is a red string!')); 
console.log(c.green('This is a **red** string!'));   <==== should read "green" string
console.log(c.cyan('This is a cyan string!'));
console.log(c.yellow('This is a yellow string!'));

pohlkat avatar Aug 08 '19 19:08 pohlkat

Hi @pohlkat thanks for the issue!

If you'd like to do a Pull Request (PR) to make the edit, please do. Just edit the .verb.md file. You can do this through the GitHub website, and submit the PR directly from there. If you don't want to, no worries, I'll update it soon.

BTW... you can use 3 backticks (```) before and after the code in your issue above to format it and make it look a little nicer.

doowb avatar Aug 08 '19 20:08 doowb

Nice catch... looks like the user image will need a bit of TLC too.

Martii avatar Aug 09 '19 22:08 Martii

@doowb, as @Martii mentioned the png will need to be regenerated. I can take this one.

jonschlinkert avatar Sep 15 '19 10:09 jonschlinkert

@jonschlinkert thanks. I didn't notice the image and I didn't realize that's what @Martii was referring to.

doowb avatar Sep 17 '19 00:09 doowb