Commit ce9bfaa77dbc93500afc1fb2c3a0502172614fef

Lea Verou 2012-07-30T15:04:19

Cosmetic changes

diff --git a/index.html b/index.html
index efffe25..ed8c0d1 100644
--- a/index.html
+++ b/index.html
@@ -74,6 +74,8 @@
 		<li>Very easy to <a href="extending.html#language-definitions">define new languages</a>. Only thing you need is a good understanding of regular expressions</li>
 		<li>All styling is done through CSS, with <a href="faq.html#how-do-i-know-which-tokens-i-can-style-for">sensible class names</a> rather than ugly namespaced abbreviated nonsense.</li>
 		<li>Wide browser support: IE9+, Firefox, Chrome, Safari, Opera, most Mobile browsers</li>
+		<li>Highlights embedded languages (e.g. CSS inside HTML, JavaScript inside HTML)</li>
+		<li>Highlights inline code, not just code blocks</li>
 		<li>Highlight specific lines and/or line ranges (requires <a href="plugins/line-highlight/">plugin</a>)</li>
 		<li>Show invisible characters like tabs, line breaks etc (requires <a href="plugins/show-invisibles/">plugin</a>)</li>
 	</ul>
@@ -95,13 +97,13 @@
 	<pre><code>&lt;!DOCTYPE html>
 &lt;html>
 &lt;head>
-	...
-	</code><code class="highlight">&lt;link href="prism.css" rel="stylesheet" /></code><code>
-&lt;/head>
+	...</code>
+	<code class="highlight">&lt;link href="prism.css" rel="stylesheet" /></code>
+<code>&lt;/head>
 &lt;body>
-	...
-	</code><code class="highlight">&lt;script src="prism.js">&lt;/script></code><code>
-&lt;/body>
+	...</code>
+	<code class="highlight">&lt;script src="prism.js">&lt;/script></code>
+<code>&lt;/body>
 &lt;/html></code></pre>
 	
 	<p>Prism does its best to encourage good authoring practices. Therefore, it only works with <code>&lt;code></code> elements, since marking up code without a <code>&lt;code></code> element is semantically invalid. 
diff --git a/style.css b/style.css
index fdafbb9..2fcd234 100644
--- a/style.css
+++ b/style.css
@@ -103,8 +103,8 @@ pre {
 }
 
 pre > code.highlight {
-	background: white;
-	box-shadow: 0 0 .8em .4em white;
+	outline: .4em solid red;
+	outline-offset: .4em;
 }
 
 header,
diff --git a/templates/header-main.html b/templates/header-main.html
index 283685e..70e1052 100644
--- a/templates/header-main.html
+++ b/templates/header-main.html
@@ -4,5 +4,5 @@
 
 <p>
 	Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind.
- 	It’s a spin-off from <a href="http://dabblet.com">Dabblet</a> and is tested there daily by thousands of users.
+ 	It’s a spin-off from <a href="http://dabblet.com">Dabblet</a> and is tested there daily by thousands.
 </p>
\ No newline at end of file