def prettify_cve_announcement(cve_announcement, api_url):
    """Format a cve_announcement to be human friendly."""
    return (
        f"[{cve_announcement.cve_code}] {cve_announcement.content}\n"
        f"Score: {cve_announcement.score}\n"
        f"Exploit code maturity: {cve_announcement.exploit_code_maturity}\n"
        f"Link: {api_url}/cve_announcements/{cve_announcement.cve_code}\n"
    )