I currently wish to add a feature to copy code snippets in my documentation, which consists of several MD files that will render in the browser when the respective page is clicked.
I would appreciate assistance in implementing a code copy option for all MD files, as I am new to the React framework.
page1.md
welcome to my documentation.
```js
<head>
<script type="text" src="https://cdn.js"></script>
</head>
```