Commits

Miki Tebeka  committed 48bf981

Start of front page

  • Participants
  • Parent commits c2579c1

Comments (0)

Files changed (2)

File highlighter.py

 class Highlighter:
     @expose
     def index(self):
-        return "TBD"
+        return open("index.html").read()
 
     @expose
     def highlight(self, **kw):
+<html>
+    <head>
+        <title>Syntax Highlighter</title>
+    </head>
+    <body>
+        <h3>Syntax Highlighter</h3>
+        <p>
+            A service to syntax hightlight your code using 
+            <a href="http://pygments.org">Pygments</a>.
+        </p>
+        <p>
+            Usage ...
+        </p>
+    </body
+</html>