@@ -173,8 +173,7 @@ function getCommentText (repo, todo, conf) {
         extract += "\n…";
       }
 
-      // TODO syntax highlighting?
-      text += "\n\n```\n" + extract + "\n```\n";
+      text += "\n\n```" + getLanguage(todo.file, content) + "\n" + extract + "\n```\n";
     }
 
     if (conf.signature) {
@@ -190,6 +189,16 @@ function getCommentText (repo, todo, conf) {
     .then(generateCommentText);
 }
 
+// Language detection: very naive only based on filename for now
+function getLanguage (filename /*, content */) {
+  var index = filename.lastIndexOf(".");
+  if (index === -1) {
+    return "";
+  }
+
+  return filename.substring(index + 1);
+}
+
 function fromDiff (repo, diff, sha, conf) {
   conf = _.merge({
     "onProgress": _.noop