Permalink
Browse files

added more formatting options based on: http://en.wikipedia.org/wiki/…

  • Loading branch information...
1 parent 2c70fc4 commit f8c3e7e495a5bce9237574873cb083c3b10f1b1c @constantology committed Mar 1, 2012
Showing with 4 additions and 2 deletions.
  1. +3 −1 README.md
  2. +1 −1 ansi-pansi.js
View
@@ -26,8 +26,10 @@ Basic ansi formatting, foreground and background colours for use with CLIs.
## formatting and colour options
You can use the below codes concatenated with either a plus `+` or a space ` ` character as shown in the example above.
+**NOTE: ** Not all formatting across all CLIs.
+
### formatting
-`bold`, `italic`, `underline`, `blink`, `reverse`, `hide`.
+`bold`, `faint`, `italic`, `underline`, `blink`, `blinkfast`, `invert`, `conceal`.
### foreground colours
`black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`
View
@@ -1,7 +1,7 @@
var code = {
reset : 0,
// formatting
- bold : 1, italic : 3, underline : 4, blink : 5, reverse : 7, hide : 8,
+ bold : 1, faint : 2, italic : 3, underline : 4, blink : 5, blinkfast : 5, invert : 7, hide : 8, strike : 9,
// foreground colours
black : 30, red : 31, green : 32, yellow : 33, blue : 34, magenta : 35, cyan : 36, white : 37,
// background colours

0 comments on commit f8c3e7e

Please sign in to comment.