toMarkdown method
## Matches and ## Related Context with citations of the form
bundle-path/source-path:lines, then the notices: the text of
wayfinder search and the MCP search tool. Control characters are
escaped.
Implementation
String toMarkdown() => renderSearchMarkdown(
matches: [for (final match in matches) _passage(match)],
context: [for (final entry in context) _passage(entry)],
notices: [for (final notice in notices) notice.text],
);