changing md format to pyhton