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 + "(=([^&#]*)|&|#|$)"), ...
At CXDIIN, we are passionate about technology, programming, and exploring the vast world of JavaScript libraries. Our mission is to provide valuable resources, tips, and tricks to empower individuals and help them navigate the ever-evolving landscape of technology.