str_to_html

Function str_to_html 

Source
pub fn str_to_html(input: &str) -> Result<Vec<String>, MarkdownError>
Expand description

Convert markdown string to vector of HTML strings. Each element represents one HTML line/tag.

§Arguments

  • input - Markdown text to convert

§Returns

Vector of HTML strings or MarkdownError