Allows for multiple images and links per line of markdown and properly returns prefix and postfix information