Update underlining code
This commit is contained in:
parent
f9067af37f
commit
9e66ca99c8
2 changed files with 15 additions and 26 deletions
12
README.md
12
README.md
|
@ -6,9 +6,8 @@ syntax to add colours.
|
|||
|
||||
```erlang
|
||||
%% Effectively the same as io:format just takes the additional color
|
||||
%% console text colour can be set by ~!**<colour>**. ~_**<colour>**
|
||||
%% will produce underlined text and ~#**<colour>** will change the
|
||||
%% background. Both ~# and ~_ only work with lowercase colours.
|
||||
%% console text colour can be set by ~!**<colour>**. ~#**<colour>**
|
||||
%% will change the background. Both ~# only work with lowercase colours.
|
||||
%% An uppercase letersindicate bold colours.
|
||||
%%
|
||||
%% The colour can be one of:
|
||||
|
@ -30,3 +29,10 @@ Build
|
|||
-----
|
||||
|
||||
$ rebar3 compile
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
`cf:format/[1,2]` - an equivalent to `io_lib:format/[1,2]`.
|
||||
`cf:print/[1,2]` - an equivalent to `io:format/[1,2]`.
|
Loading…
Add table
Add a link
Reference in a new issue