Show Codes on website or Blogger with Copy Option ft. Prismjs.com Steps :- 1. Add PrismJS Library To Your Website . (i) Add CSS CDN . <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/CDNSFree2/PrismJS@latest/prism.min.css"> (ii) Add Javascript CDN <script src="https://cdn.jsdelivr.net/gh/CDNSFree2/PrismJS@latest/prism.min.js"></script> 2. Now, Use The Combo of <pre> and <code> Tag To Show Your Code . <pre> <code class="language-javascript"> function getParameterByName(name, url) { if (!url) url = window.location.href; name = name.replace(/[\[\]]/g, "\\$&"); var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"), ...
Our one and only aim is to reveal all the useful things on Internet in Front of People . #BeCreative