diff options
author | Xavier Noria <fxn@hashref.com> | 2016-07-04 08:05:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-04 08:05:16 +0200 |
commit | 9bdf08c5a57d0411db866124eca4deba5097c30a (patch) | |
tree | dd5f554a6cba17d61ec0a2346f309e148cb5f470 /guides/source | |
parent | 08a907461341486e371774dd69c43852657c0f4f (diff) | |
parent | 9a53b0f44a67905e6d0b45b264ebcccf88485dc5 (diff) | |
download | rails-9bdf08c5a57d0411db866124eca4deba5097c30a.tar.gz rails-9bdf08c5a57d0411db866124eca4deba5097c30a.tar.bz2 rails-9bdf08c5a57d0411db866124eca4deba5097c30a.zip |
Merge pull request #25663 from vipulnsward/updated-syntax-highlighter
Update Syntax Highlighter to version 4 [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/layout.html.erb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/guides/source/layout.html.erb b/guides/source/layout.html.erb index 9abb863da6..943fd3fd7f 100644 --- a/guides/source/layout.html.erb +++ b/guides/source/layout.html.erb @@ -127,13 +127,11 @@ <script type="text/javascript" src="javascripts/jquery.min.js"></script> <script type="text/javascript" src="javascripts/responsive-tables.js"></script> <script type="text/javascript" src="javascripts/guides.js"></script> - <script type="text/javascript" src="javascripts/syntaxhighlighter/shCore.js"></script> - <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushRuby.js"></script> - <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushXml.js"></script> - <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushSql.js"></script> - <script type="text/javascript" src="javascripts/syntaxhighlighter/shBrushPlain.js"></script> + <script type="text/javascript" src="javascripts/syntaxhighlighter.js"></script> <script type="text/javascript"> - SyntaxHighlighter.all(); + syntaxhighlighterConfig = { + autoLinks: false, + }; $(guidesIndex.bind); </script> </body> |