Extract tags from code block as well