Quick sample of <script> for turtle
authorGavin Carothers <gavin@carothers.name>
Tue, 05 Jul 2011 12:50:34 -0700
changeset 59 041c8dd1b64f
parent 58 4fbeffaba01d
child 60 9cc24325e67c
Quick sample of <script> for turtle
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Tue Jul 05 12:38:24 2011 -0700
+++ b/rdf-turtle/index.html	Tue Jul 05 12:50:34 2011 -0700
@@ -87,6 +87,11 @@
     }
 
     </script>
+    <style type="text/css">
+    pre.example script {
+        display:block;
+    }
+    </style> 
 	
     </head>
 
@@ -164,13 +169,15 @@
 				</p>
 
 				<pre class="example">
+				<script type="text/turtle">
 # this is not a complete turtle document
-&lt;http://example.org/path/&gt;
+<http://example.org/path/>
 
-&lt;http://example.org/path/#fragment&gt;
-&lt;/path&gt;
-&lt;#fragment&gt;
-&lt;&gt;
+<http://example.org/path/#fragment>
+</path>
+<#fragment>
+<>
+</script>
 				</pre>
 
 				<p>URIs may also be abbreviated by using Turtle's <code>@prefix</code>