Skip to main content

render_to_string

Function render_to_string 

Source
pub fn render_to_string(input: &str) -> String
Expand description

Render afm source to HTML, dropping diagnostics.

Convenience for the typical caller. For diagnostic-aware paths (CLI --strict flag, LSP, corpus sweep) call crate::render_to_string directly and inspect crate::Rendered::diagnostics.