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>
could 1 spot me went wrong in implementing it?
thanks in advance help.
Comments
Post a Comment