1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="favicon.png" />
<title>IE8 ▲ Prism plugins</title>
<base href="../.." />
<!--[if lte IE 8]><script>(function(){
var a = document.createElement('a'), base = document.getElementsByTagName('base')[0];
a.href = base.href;
base.href = a.href;
})()</script><![endif]-->
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="themes/prism.css" data-noprefix />
<link rel="stylesheet" href="plugins/ie8/prism-ie8.css" data-noprefix />
<script src="prefixfree.min.js"></script>
<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
<script src="http://www.google-analytics.com/ga.js" async></script>
</head>
<body>
<header>
<div class="intro" data-src="templates/header-plugins.html" data-type="text/html"></div>
<h2>IE8 (Work in progress)</h2>
<p>Adds basic IE8 <a href="">support</a> to Prism through a series of polyfills.</p>
</header>
<section>
<h1>How to use</h1>
</section>
<section>
<h1>Examples</h1>
<h2>JavaScript</h2>
<pre><code class="language-javascript">/**
* This is a multiline comment
*/
var foo = 5; // this is a single line comment
var str = "A string",
r = /and a regex/;</code></pre>
<h2>CSS</h2>
<pre><code class="language-css">@font-face {
src: url(http://lea.verou.me/logo.otf);
font-family: 'LeaVerou';
}</code></pre>
<h2>HTML</h2>
<pre><code class="language-markup"><!-- A comment -->
<img src="http://prismjs.com/img/spectrum.png" alt="" />
<p>Some text</p></code></pre>
</section>
<footer data-src="templates/footer.html" data-type="text/html"></footer>
<script src="prism.js"></script>
<script src="plugins/ie8/prism-ie8.js"></script>
<script src="utopia.js"></script>
<script src="code.js"></script>
</body>
</html>