switched internal markdown parser