html-helpers 0.2.1

DEPRECATED: This crate has been renamed to htmlr. Please use htmlr instead.
Documentation
fn main() -> Result<(), Box<dyn std::error::Error>> {
	let fx_html = r#"
	<!DOCTYPE html>
	<html>
	<head>
		<meta charset="utf-8">
		<link rel="icon" href="favicon.ico">
	</head>
	<body>
		<p>Content</p>
	</body>
	</html>
	"#;

    let slim = html_helpers::slim(fx_html, html_helpers::SlimOptions::default().with_indent(2))?;

	println!("Slim (formatted):\n\n{slim}");

	Ok(())
}