update docs

This commit is contained in:
Marak Squires 2010-06-11 08:01:54 -04:00
parent 04c3c2ea48
commit 731b73f47e

View File

@ -1,5 +1,7 @@
<h1>colors.js - get color and style in your nodejs console like what</h1> <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 sys = require('sys');
var colors = require('./colors'); var colors = require('./colors');
@ -8,8 +10,6 @@
sys.puts('So '.italic + 'are'.underline + ' styles! '.bold + 'inverse'.inverse); // styles not widely supported 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 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> <h2>colors and styles!</h2>
- bold - bold
- italic - italic