Skip to content

Commit b42d7b4

Browse files
Trims white space.
1 parent e82523c commit b42d7b4

File tree

2 files changed

+23
-32
lines changed

2 files changed

+23
-32
lines changed

content/SyntaxHighlighter/index.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@ filter:
66
---
77
#introduction
88
%h2 About
9-
9+
1010
:markdown
1111
__SyntaxHighlighter__ is a fully functional self-contained [code syntax highlighter][1] developed in [JavaScript][2].
12-
To get an idea of what SyntaxHighlighter is capable of, have a look at the [demo page](manual/demo).
12+
To get an idea of what SyntaxHighlighter is capable of, have a look at the [demo page](manual/demo).
1313

1414
[1]: http://en.wikipedia.org/wiki/Syntax_highlighting
1515
[2]: http://en.wikipedia.org/wiki/Javascript
1616

17-
SyntaxHighlighter is currently used by **[Apache][3]**, **[Aptana][4]**, **[Mozilla][5]**,
17+
SyntaxHighlighter is currently used by **[Apache][3]**, **[Aptana][4]**, **[Mozilla][5]**,
1818
**[Yahoo][6]**, **[Wordpress][7]**, **[Bug Labs][8]**, **[Freshbooks][9]** and [others][10].
1919

20-
[3]: http://pivot.apache.org/tutorials/stock-tracker.data-binding.html
21-
[4]: http://jaxer.org/quick_start
20+
[3]: http://pivot.apache.org/tutorials/stock-tracker.data-binding.html
21+
[4]: http://jaxer.org/quick_start
2222
[5]: https://developer.mozilla.org/en/DOM/element.addEventListener
2323
[6]: http://developer.yahoo.com/yui/examples/animation/attributes.html
24-
[7]: http://en.support.wordpress.com/code/posting-source-code/
25-
[8]: http://buglabs.net/codesearch?query=motion
26-
[9]: http://developers.freshbooks.com/
24+
[7]: http://en.support.wordpress.com/code/posting-source-code/
25+
[8]: http://buglabs.net/codesearch?query=motion
26+
[9]: http://developers.freshbooks.com/
2727
[10]: spotlight.html
2828

2929
#example

layouts/default.haml

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ filter:
2727

2828
#whatsnew
2929
%a{ :href => "#{@home}/whatsnew.html"} whats new?
30-
30+
3131
#blurb
3232
%em SyntaxHighlighter is an open source Java Script client side code syntax highlighter.
3333

@@ -38,52 +38,43 @@ filter:
3838
%a{ :href => "#{@home}/manual/api/autoloader.html" } autoloader
3939
%a{ :href => "#{@home}/manual/configuration" } configuration
4040
%a{ :href => "http://twitter.com/syntaxhighlight" } @syntaxhighlight
41-
41+
4242
%h2= @page.title
43-
43+
4444
#content
4545
= @content
46-
46+
4747
#clear
4848

4949
#copyright
5050
SyntaxHighlighter was originally created in 2004 and is still maintained by Alex Gorbatchev.
5151
Copyright 2004-2011 Alex Gorbatchev.
52-
52+
5353
#footer
5454
#ad
5555
:javascript
56-
var ve_publisher = "syntaxhighlighter";
57-
var ve_site = "SYNTAXHIGHLIGHTER";
58-
var ve_area = "SYNTAXHIGHLIGHTER";
59-
var ve_location = "SYNTAXHIGHLIGHTER_ROS_160X600";
60-
var ve_placement = "ROS";
61-
var ve_width = 160;
62-
var ve_height = 600;
63-
var ve_alternate = "";
64-
document.write("<script src='http://core.videoegg.com/eap/html/js/init.js?"+Math.random()+"'></sc"+"ript>");
56+
google_ad_client = "ca-pub-2888483682038752";
57+
/* SyntaxHighlighter2 */
58+
google_ad_slot = "1794546701";
59+
google_ad_width = 160;
60+
google_ad_height = 600;
61+
%script{ :type => "text/javascript", :src => "http://pagead2.googlesyndication.com/pagead/show_ads.js" }
6562

6663
%a{ :href => "#{@home}/about.html" } about
6764
%a{ :href => "#{@home}/manual/brushes/" } syntaxes
6865
%a{ :href => "#{@home}/manual/themes/" } themes
69-
%a{ :href => "#{@home}/integration.html" } integration
70-
%a{ :href => "#{@home}/hosting.html" } hosting
71-
%a{ :href => "#{@home}/manual/older_versions.html" } legacy
72-
%a{ :href => "#{@home}/manual/api" } apis
66+
%a{ :href => "#{@home}/integration.html" } integration
67+
%a{ :href => "#{@home}/hosting.html" } hosting
68+
%a{ :href => "#{@home}/manual/older_versions.html" } legacy
69+
%a{ :href => "#{@home}/manual/api" } apis
7370
%a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter/issues"} issues
7471
%a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter" } source
7572
%a{ :href => "https://github.com/alexgorbatchev/SyntaxHighlighter-Site" } site
7673
%a{ :href => "#{@home}/contact.html"} contact
7774

78-
/
79-
#sponsor
80-
%a{ :href => "http://www.dbnetsuite.com/shared/track.aspx?code=SH", :onclick => "_gaq.push(['_trackEvent', 'sponsor', 'click', 'dbnetsuite']);"}
81-
%img{ :src => "http://alexgorbatchev.com.s3.amazonaws.com/sponsors/dbnet/dbnetsuite.png", :onload => "_gaq.push(['_trackEvent', 'sponsor', 'load', 'dbnetsuite']);" }
82-
8375
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{@home}/css/main.css" }
8476
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/shCore.css" }
8577
%link{ :type => 'text/css', :rel => 'stylesheet', :href => "#{sh_pub}/styles/#{@page._meta_data['theme'] || 'shThemeDefault'}.css" }
86-
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/XRegExp.js" }
8778
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shCore.js" }
8879
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shAutoloader.js" }
8980
%script{ :type => 'text/javascript', :src => "#{sh_pub}/scripts/shBrushXml.js" }

0 commit comments

Comments
 (0)