replace markdown tags with heddings and testing