Parse the first image with the given tag in the markdown content
The markdown content to parse
The tag to search for (without prefix, e.g., "3.1" not "fig:3.1")
The prefix to match (e.g., "fig:"), default is "fig:"
The first ImageMatch with the matching tag, or undefined if not found
we don't process quote here since its handled by parseImageLine, also quote block recognition will handle quote automatically, so there's no need.
Parse the first image with the given tag in the markdown content