pub fn render_html( payload: &Value, template_dir: Option<&Path>, template_name: &str, inline_css: bool, limits: Option<Limits>, ) -> Result<String>
Render only the intermediate HTML (sync, no browser).