switched markdown parser