macro_rules! cprintln {
($fmt:literal $(, $arg:expr)*) => { ... };
}Expand description
Prints farben-colored markup to stdout with a trailing newline.
Behaves like println! 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 result = "We did it!";
cprintln!("[green]Success: [/]{}", result);