Function htmlify_str
Source pub fn htmlify_str(input: &str) -> Result<String, Error>
Expand description
A convenience function to simply convert Matthewdown to HTML.
§Arguments
input - A string containing a Matthewdown document.
§Examples
let html = matthewdown::htmlify_str("Hello World!").unwrap();
assert_eq!(html, "<p>Hello World!</p>");