--

It usually happens in drafts, try to publish it then it scroll and copy will work fine.

Also, Remember it is not responsive to device sizes.

I would suggest to use GitHub Gist or Image of code block. or some other way mentioned in the blog.

--

--

Abhay Parashar

Cyber Guy 🧑‍💻| Top Writer | 3M+ Views | Engineer | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers