Permalink
Browse files

Disable autolink in example code blocks in guides.

  • Loading branch information...
1 parent 64c62d3 commit 0d9e58f879893a28ad3eedc4016ab66920f92604 @JuanitoFatas JuanitoFatas committed Jun 23, 2014
Showing with 6 additions and 0 deletions.
  1. +6 −0 guides/assets/javascripts/guides.js
@@ -51,3 +51,9 @@ var guidesIndex = {
window.location = url;
}
};
+
+// Disable autolink inside example code blocks of guides.
+$(document).ready(function() {
+ SyntaxHighlighter.defaults['auto-links'] = false;
+ SyntaxHighlighter.all();
+});

0 comments on commit 0d9e58f

Please sign in to comment.