diff --git a/docs/api-doc-markdown.md b/docs/api-doc-markdown.md index a1a10e91b7..8281d0a004 100644 --- a/docs/api-doc-markdown.md +++ b/docs/api-doc-markdown.md @@ -206,3 +206,7 @@ class Example extends React.Component { } } ``` + +### Adding Copy Code Buttons + +Docusaurus allows for adding buttons to copy code within fenced code blocks. Please follow the instructions [here](https://gist.github.com/yangshun/55db997ed0f8f4e6527571fc3bee4675) to add "Copy" buttons to your code blocks.