#![allow(missing_docs)]
use html_generator::{generate_html, HtmlConfig, Result as HtmlResult};
fn main() -> HtmlResult<()> {
println!(
"
๐งช Custom Configuration Example
"
);
println!("---------------------------------------------");
let markdown = r#"# Custom Configuration
This demonstrates a custom configuration for HTML generation."#;
let config = HtmlConfig::builder()
.with_language("en-GB")
.with_syntax_highlighting(true, Some("monokai".to_string()))
.build()?;
let html = generate_html(markdown, &config)?;
println!(
" โ
Generated HTML with custom configuration:
{}",
html
);
println!(
"
๐ Custom configuration example completed successfully!"
);
Ok(())
}