Highlight Codes Effortlessly on Blogs & Websites
Adding the Highlighting Feature
<link rel="stylesheet" href="http://www.geniusknight.weebly.com/files/theme/prettify1.css" />
<script src="http://www.geniusknight.weebly.com/files/theme/prettify1.js"></script>
Injecting the Feature to Your codes
<pre style="white-space: pre-wrap;" class="prettyprint"> /* Your code starts here */ <script> document.getElementById("demo").innerHTML="Hello Coder"; document.getElementById("myDIV").innerHTML="How are you?"; </script> /* Your code ends here */ </pre> <script>prettyPrint();</script>