separate tags and markdown listeners