macro_rules! cprint {
($fmt:literal $(, $arg:expr)*) => { ... };
}Expand description
Prints farben-colored markup to stdout without a newline.
Behaves like print! but processes farben markup tags before output.
The format string is validated at compile time when the compile feature is enabled.
§Panics
Panics if the markup is invalid. Use try_color directly for error handling.
§Examples
use farben::*;
let message = "I don't know";
cprint!("[red]Error: [/]{}", message);