Convert fenced code to image URL