pub fn render_to_string_effect(
results: AnalysisResults,
format: OutputFormat,
) -> AnalysisEffect<String>Expand description
Write analysis results to a single format and return the content.
This is useful when you want to capture the rendered output for further processing without writing to a file.
§Example
ⓘ
let effect = render_to_string_effect(results, OutputFormat::Markdown);
let content = run_effect(effect, config)?;
// Process content further...