update api of markdown-react