Transform markdown upon import.