How to add a copy button to markdown code blocks

 

How to add a copy button to markdown code blocks




How to add a copy button to markdown code blocks

Hello, today I will talk about code, how to put a button to copy text on a blogger site.

We are use some JavaScript code to not copy anything from our sites. Which is that no one can copy anything. But when you write an article about a code, you have to share the code, so the visitors cannot copy the shared code. So for one advantage came another disadvantage. If you add a systematic code for it , you will find the solution for this problem .

You can put the codes in the text box to quote in the quotes text. That system is in Blogger. And copy the following code and put it on your site.

If you visit this post on our site, you will see that this system is on our site. https://www.mrlaboratory.info/2021/06/add-qr-scanner-code-script-to-your.html


copyable code 


One thing to keep in mind, however, is that if you want to add Zia code to the copy box, you must put it in <blockquote> </blockquote>.

for this feature include this code on your block 

<script src="https://mrlaboratory.github.io/blockquoteCopy/script.js"/>


Hopefully you will benefit.. ❤❤ Stay with us 



copy text to clipboard,javascript copy text to clipboard,copy to clipboard,copy text to clipboard javascript,copy text,how to add copy text button in blogger,how to add copy text button in blogspot,how to make copy text button to clipboard in thunkable hindi,copy text button,copy text to clipboard button in html css & javascript,text copy button,click to copy button,copy text button in blogger,copy text button javascript,add copy button in blogger,

Next Post Previous Post
2 Comments

You cannot comment with a link / URL. If you need backlinks then you can Contact with us

  • @ICTHack
    @ICTHack August 16, 2021 at 11:54 PM

    good

    • Md Mijanur Rahaman (MR)
      Md Mijanur Rahaman (MR) August 17, 2021 at 8:17 AM

      Thanks ❤

Add Comment
comment url