mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-28 18:40:09 +00:00
update docs
This commit is contained in:
parent
04c3c2ea48
commit
731b73f47e
@ -1,5 +1,7 @@
|
||||
<h1>colors.js - get color and style in your nodejs console like what</h1>
|
||||
|
||||
<img src="http://i.imgur.com/goJdO.png" border = "0"/>
|
||||
|
||||
var sys = require('sys');
|
||||
var colors = require('./colors');
|
||||
|
||||
@ -7,8 +9,6 @@
|
||||
sys.puts('C'.yellow+'o'.red+'l'.grey+'o'.cyan+'r'.magenta+'s'.magenta+' are '.green + 'fun!'.yellow);
|
||||
sys.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported
|
||||
sys.puts('Chains are also cool.'.bold.italic.underline.red); // styles not widely supported
|
||||
|
||||
<img src="http://i.imgur.com/goJdO.png" border = "0"/>
|
||||
|
||||
<h2>colors and styles!</h2>
|
||||
- bold
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user