Implement markdown converting.