1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use stylic::{lazy_format, link, style, style_format, Stylize};

fn main() {
    let hello = style("Hello").bold().red().on_blue();

    println!("{}", lazy_format!("{:b}", 12));

    let world = style_format!("Wor{}ld", style_format!("he{}he", style("haha")).blue())
        .cyan()
        .reverse();

    println!("{hello}, {world}!");

    println!("{:?}", world.style);
    println!("{:?}", world.to_string());

    println!("{}", style("strikethrough").strikethrough());

    println!("{}", link("Google", "https://google.com").bold().green());

    println!("{}", style("Hello").underline_colored(48));
}