Macro minimo::paragraph

source ·
macro_rules! paragraph {
    ($title_style:ident, $title:expr, $text_style:ident, $text:expr) => { ... };
}
Expand description

paragraph! macro prints a paragraph with a title and text the text is automatically wrapped to the max width as per the max width set

§Examples

paragraph!(purple_bold, "title", white,"This is a paragraph with a title and long text to see if the content will automatically be wrapped and displayed accordingly"); output: ╭─ title │ This is a paragraph with a title and long text to see if the content will │ automatically be wrapped and displayed accordingly ╰─———————————————————————————————————————————————————————————————————————————