Skip to main content

format_line

Function format_line 

Source
pub fn format_line(
    line: &str,
    process_links: bool,
    process_images: bool,
) -> String
Expand description

Format a line with inline markdown.

This is a convenience function that parses a line and returns the formatted result as ANSI-styled text.