improve markdown tagging