Skip to main content

to_markdown

Function to_markdown 

Source
pub fn to_markdown(doc: &ReviewDocument) -> String
Expand description

Human/agent-friendly export: comments grouped by file.

# Review comments — repo main..feature

Verdict: changes required · 2026-07-13T10:00:00Z

2 comment(s), 1 open · base <sha12> · head <sha12>

## src/app.rs

- **L42 (new)** — first line
  continuation lines indented
- **L50 (new, resolved)** — a settled thread

The verdict line appears only when a verdict is set; the , N open count only when some comments are resolved.