Author: rwesten
Date: Thu Feb 16 07:54:39 2012
New Revision: 1244878

URL: http://svn.apache.org/viewvc?rev=1244878&view=rev
Log:
added syntax hilighter css definitions for :::java and :::bash to stanbol.css. 
To use no syntax highlithing one can prefix code blocks with :::none

Modified:
    incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
    
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext

Modified: incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css?rev=1244878&r1=1244877&r2=1244878&view=diff
==============================================================================
--- incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css (original)
+++ incubator/stanbol/site/trunk/content/stanbol/css/stanbol.css Thu Feb 16 
07:54:39 2012
@@ -126,14 +126,27 @@ h1,h2,h3,h4,h5,h6 {
   color: #dcb27e;
 }
 
-pre {
-       white-space: pre-wrap; 
-       white-space: -moz-pre-wrap; 
-       white-space: -o-pre-wrap; 
-       background: #faf8f0; 
-       display: block; 
-       padding: 0.5em 1em; 
-       margin: 0.5em 1em; 
-       border: 1px solid #bebab0;
-       line-height: 133%;
+div.codehilite {
+    white-space: pre-wrap; 
+    white-space: -moz-pre-wrap; 
+    white-space: -o-pre-wrap; 
+    background: #faf8f0; 
+    display: block; 
+    padding: 0.5em 1em; 
+    margin: 0.5em 1em; 
+    border: 1px solid #bebab0;
+    line-height: 133%;
 }
+span.c1 {
+    color: #667f5b;
+}
+span.k {
+    color: #8e2b75;
+    font-weight:bold;
+}
+span.nd {
+    color: #646464;
+}
+span.s {
+    color: #1500ff;
+}
\ No newline at end of file

Modified: 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext?rev=1244878&r1=1244877&r2=1244878&view=diff
==============================================================================
--- 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext 
(original)
+++ 
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext 
Thu Feb 16 07:54:39 2012
@@ -129,5 +129,5 @@ By default the URI of the content item b
 
     :::bash
     curl -X POST -H "Accept: text/turtle" -H "Content-type: text/plain" \
-    --data "John Smith was born in London." \
-    "http://localhost:8080/engines?uri=urn:fise-example-content-item";
+        --data "John Smith was born in London." \
+        "http://localhost:8080/engines?uri=urn:fise-example-content-item";


Reply via email to