Formatted strings
Status: Planning
Brought to you by:
ygormutti
Develop a method to print on terminal a formatted strings.
At first, this should be using html-like tags:
<u> underline
<b> bold
<l> blink
<h> half-bright
<f> full-bright
<r> reset attributes
<i> reverse colors
<D> black foreground color
<R> red foreground color
<G> green foreground color
<O> brown foreground color
<B> blue foreground color
<M> magenta foreground color
<C> cyan foreground color
<W> white foreground color
Additionaly, adding a B, will set for background color.
<DB> black background colo
<RB> red backgroung color
To close a tag:
</D> stop black foreground color
<<> <
<>> >
Example:
<R>This is an <b>example</b> text with <u>http://link</u><r>