Author: wikier
Date: Mon Feb 10 08:17:12 2014
New Revision: 1566527
URL: http://svn.apache.org/r1566527
Log:
enabled prettify
Modified:
marmotta/site/trunk/content/resources/js/marmotta.js
Modified: marmotta/site/trunk/content/resources/js/marmotta.js
URL:
http://svn.apache.org/viewvc/marmotta/site/trunk/content/resources/js/marmotta.js?rev=1566527&r1=1566526&r2=1566527&view=diff
==============================================================================
--- marmotta/site/trunk/content/resources/js/marmotta.js (original)
+++ marmotta/site/trunk/content/resources/js/marmotta.js Mon Feb 10 08:17:12
2014
@@ -45,6 +45,7 @@ if (typeof String.prototype.endsWith !=
jQuery(document).ready(function() {
+ jQuery("pre").each(function() { jQuery(this).addClass("prettyprint"); });
prettyPrint();
//trick because markdown preprocessor doesn't allow us to write javascript
there