javascript - PrismJS Code Highlighting issue -


i try use prismjs http://prismjs.com/download.html code highlighting, not working see fiddle http://jsfiddle.net/939u16ac/ getting rendered html instead of markup pfa markup , screenshot

html file:

<!doctype html> <html lang="en">     <head>         <title> demo</title>         <meta charset="utf-8"/>         <link rel="stylesheet" href="lib/prism.css">         <script src="lib/prism.js"></script>     </head>     <body onload="">  <pre class="line-numbers language-markup"> <code  class=""> <ol type="1"> <li> href atribute must , id, class, title attribute optional  </li> <li> in angular application or not having navigation link, use <b>javascript:void(0)</b> in href attribute value </li> </ol> <a id="optionalid" class="optionalclass"  title="optionaltitle" href="product.html" >product page</a> </code> </pre>     </body> </html> 

enter image description here

could 1 spot me went wrong in implementing it?

thanks in advance help.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -