$(".presentation").each(function() {
    var md = new Remarkable('full', { html: true });
    var markup = md.render($(this).html());
    var slides = markup.split('<hr>');
    var new_document = [];
    for (var j = 0; j < slides.length; j++)
        new_document.push('<div class=slide>' + slides[j] + '</div>');
    document.write(new_document.join(""));
});
$(".presentation").remove();

// If you want to syntax highlight all your code in the same way then
// you can uncomment and customize the next line
//
//$("pre>code").parent().addClass("syntax cpp");

w3c_slidy.add_listener(document.body, "touchend", w3c_slidy.mouse_button_click);

$.syntax();

// Automatic detection for theme javascript. It will run after slides
// have been generated
for(i in document.styleSheets) {
    stylesheet = document.styleSheets[i].href;
    if (stylesheet && stylesheet.indexOf("theme") != -1) {
        theme = stylesheet.slice(stylesheet.lastIndexOf("/")+1, stylesheet.length);
        eval(theme.replace(".css", "()"));
    }
}

@@ -30,18 +30,16 @@
 ion() %7B%0A
-  
   var md
@@ -76,16 +76,292 @@
 ml: true
+//,%0A                                    // Here goes a real syntax highlighter%0A                                    //highlight: function (str, lang) %7B%0A                                    //  return str;%0A                                    //%7D%0A                                 
  %7D);%0A   
@@ -831,16 +831,16 @@
 cpp%22);%0A%0A
-
 w3c_slid
@@ -913,16 +913,593 @@
 lick);%0A%0A
+// XXX: Work Around%0A// RemarkableJS above translates content of %3Cpre%3E Tags into HTML.%0A// Therefore empty lines will create new paragraphs. Remove those%0A// paragraphs, so that the newlines stay intact for code highlighting.%0A%0A// Note: Indentation is lost and cannot be retrieved here%0A%0A// Note: The better solution is to ditch jquery-syntax and go with%0A// something that can be used together with RemarkableJS.%0A$(%22pre.syntax%22).map(function(element) %7B%0A  $(this).html($(this).%0A               html().%0A               replace(/%3Cp%3E/g, %22%5Cn%22).%0A               replace(/%3C%5C/p%3E/g, %22%22));%0A%7D);%0A%0A
 $.syntax

Add workaround to introduce slightly better syntax highlighting.