add the function of markdown