fix invalid markdown formatter