mirror of
https://github.com/flynx/colors.js.git
synced 2025-10-29 11:00:11 +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>
|
<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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user