bash
$ctrem "[bold]H[/]ello"
```rust use ctrem::*;
cprintln("[bold][blink]Hello[/], world![/]");
```
prints Hello, world! in bold and blinks Hello
Available style
- Default
- Bold
- Dim
- Italic
- Underline
- Blink
- Normal
- Reverse
- Strike
Available colors
Supported 8bit (256) also 24 bit (16.7 million) colors
Foreground is default , for background use ' *
'
Cterm supported different styles and colors styles or colors palette must be inclosed in [palette] and ends with [/]
For bold text use [bold]some text[/]
For underline text use [underline] some text[/]
For RGB colored text use [rgb 25,55,55]some text[/]
or [#b366b1]some text[/]
For 4bit colors use [color 4]some text[/]
command palette must end , use [//]
to end all
Foreground is default , for background use ' *
'
rust
use ctrem::*;
fn main(){
cprintln("[bold][blink][red]Hello[//],[green]world[*blue]![//]");
}