def getImageLink(url, img_url, caption):
  """
  Converts a URL to a Markdown image link.
  """
  return "[![{caption}]({img_url} =16x16)]({url})".format(
    caption=caption,
    img_url=img_url,
    url=url
  )