rins_markdown_parserFunction parse_to_console
Source pub fn parse_to_console(text: &str) -> Result<(), ErrorParse>
Expand description
Converts the given markdown text to HTML and prints it to the console.
§Arguments
text - A string containing the markdown content.
§Errors
- Returns an
ErrorParse::ParsingError if there’s an error during a parsing process.
§Returns
A result indicating success or an ErrorParse if the parsing fails.