improve markdown covertor