pub fn convert(input: String) -> String
Expand description

Convert a textile String to HTML.

Example

use flatiron::convert;

let textile = String::from("h1. Is this thing on?");
let html = convert(textile);
assert_eq!(html, String::from("<h1>Is this thing on?</h1>\n"));