no, this is a feature?
Yes

Ant.d is a high quality React component library, one of it's feature is you can copy the example code in the doc, like what shows above.
So锛宒o you have any plan to get this done?
This sounds useful! The new Babel site uses Docusaurus and has these copy buttons. We can see how it's done there.
馃憢Hi, I'd like to claim this issue!
@amyrlam It's yours! 馃帀
@amyrlam In the current state, it's a bit hard to support adding it for Docusaurus users. Let's just add the copy functionality to Docusaurus 馃憤
Ok, I will modify https://github.com/facebook/Docusaurus/pull/634. Update to come.
Closing due to stale activity. For anyone who wanted this. see
https://docusaurus.io/docs/en/doc-markdown#adding-copy-code-buttons
Most helpful comment
馃憢Hi, I'd like to claim this issue!