Syntax Highlighting with Google code-prettify and bootstrap

Google Code Prettify automatically detects your source code and highlights it accordingly. It’s quite simple to setup. 1. Put the below style links in your head section. <link href=’http://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.css’ rel=’stylesheet’ type=’text/css’/><link href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css” rel=”stylesheet” integrity=”sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u” crossorigin=”anonymous”> 2. Now, place this script…

Read More