def gen_image_link(url, title, alt_text):
    """Generate a link to an image.

    Args:
      url (string): The URL for the image link.
      title (string): The title of the image to display.
      alt_text (string): The alternative text (if the image can not be displayed).

    Returns:
      string: The image URL formatted as Markdown link.

    """
    return '![{}]({} "{}")'.format(alt_text, url, title)
