Expand description
Procedural macros for the Farben terminal styling library.
Provides compile-time processing of farben markup and inline markdown,
baking the final ANSI-escaped strings directly into the binary with zero
runtime overhead. All macros in this crate are re-exported through
[farben] and should not be used directly in most cases.
§Features
markdown: enables [markdown!] andcolorb!for compile-time markdown rendering via [farben_md].
Macros§
- color
- Parses and colorizes a farben markup string at compile time.
- colorb
- Parses and colorizes a farben markup string at compile time, without appending a trailing SGR reset.
- validate_
color - Validates farben markup at compile time and returns the original string literal unchanged.