A lightweight Chrome extension that adds copy buttons to code blocks on Medium articles.
-
Make sure you have Node.js installed
-
Run:
npm install -
Run:
npm run build -
Download or clone this repository
-
Open Chrome and go to
chrome://extensions/ -
Enable "Developer mode"
-
Click "Load unpacked"
-
Load the
dist/directory in Chrome -
Visit any Medium article with code blocks
my-project/
|── docs/
| └── privacy.html
|── public/
| └── icon16.png
| └── icon48.png
| └── icon128.png
├── src/
│ ├── content/
│ │ └──content.js
| | └──content.css
| | └──copy-button.html
├── manifest.json
├── package.json
├── vite.config.js
├── README.md
└── LICENSE
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
If you use this code in your own project, please credit the original author: Olha Stefanishyna.
Read full document at Privacy
Pull requests welcome! Please:
- Create dedicated feature branch
- Test on multiple Medium articles
- Follow existing code style
- Update README for new features
- Create PR
If you encounter issues open an issue with details