Commit graph

11 commits

Author SHA1 Message Date
Felipe
eb2565ce3d Fixing some of requested changes for pull request 2018-02-16 01:26:53 -02:00
Felipe
503159805f Added wrapper support
The wrapper marks the unprintable characters from each style tag.
This is very useful when debugging or outputing it in different terminals. You can use it to identify the unprintable characters or even to escape them.

Also added tests for it.
Added a description about it to the readme dile.
wq
2018-02-04 15:10:22 -02:00
Josh Junon
ede310303b add failing test for .visible bug 2017-10-23 20:12:16 -07:00
Danny Kirchmeier
dc092b4a5f Add .visible for emitting text only when enabled (fixes #192) 2017-10-23 19:44:46 -07:00
Josh Junon
69ac663f29 Fix undefined and null interpolated expressions (fixes #194) 2017-08-06 18:58:17 -07:00
Josh Junon
106f086aaf Rewrite templating system (closes #186, fixes #184) 2017-08-06 18:58:17 -07:00
Josh Junon
f0c0178d12 Allow multiple arguments in base chalk object (fixes #187) 2017-08-06 18:58:17 -07:00
Josh Junon
0827d3b632 Fix level when supportsColor returns falsey (fixes #176, #175) 2017-08-06 18:58:17 -07:00
Josh Junon
7a75399b72 Add failing template tests 2017-08-06 18:58:17 -07:00
Sindre Sorhus
4c4ba2df3d Fix template literal test 2017-07-23 22:24:56 +02:00
Kevin Mårtensson
4c4eb1fd0a Move testing to ava (#182) 2017-07-23 22:17:33 +02:00