```rust title="Rust"
use kreuzberg::{extract_file_sync, ExtractionConfig, HtmlOutputConfig, HtmlTheme, OutputFormat};

let config = ExtractionConfig {
    output_format: OutputFormat::Html,
    html_output: Some(HtmlOutputConfig {
        theme: HtmlTheme::GitHub,
        ..Default::default()
    }),
    ..Default::default()
};
let result = extract_file_sync("document.pdf", None, &config).unwrap();
println!("{}", result.content); // HTML with kb-* classes
```
