public
Description: railscasts.com in open source goodness!
Homepage: http://railscasts.com
Clone URL: git://github.com/ryanb/railscasts.git
Search Repo:
adding code ray syntax highlighting
ryanb (author)
Tue Jul 01 18:54:56 -0700 2008
commit  441deac6e44030ba819c4b02fe6260c366b0ec55
tree    3a4689798ec00ba1a3698e9b32f30d3e84f372a5
parent  2595ca17e45d5bb50463a5ad01166b6c1226aa56
0
...
2
3
4
5
6
7
8
...
2
3
4
 
5
6
7
0
@@ -2,7 +2,6 @@
0
 Core Features
0
 - download file formats
0
 - spam protection
0
-- coderay code highlighting
0
 - RSS feeds
0
 - authorization
0
 - sponsors
...
1
2
3
4
 
5
6
...
1
2
3
 
4
5
6
0
@@ -1,6 +1,6 @@
0
 # Methods added to this helper will be available to all templates in the application.
0
 module ApplicationHelper
0
   def textilize(text)
0
- RedCloth.new(text).to_html unless text.blank?
0
+ Textilizer.new(text).to_html unless text.blank?
0
   end
0
 end
...
7
8
9
 
10
11
12
...
7
8
9
10
11
12
13
0
@@ -7,6 +7,7 @@
0
     <meta name="description" content="Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced programmers." />
0
     <meta name="keywords" content="rails, ruby on rails, screencasts, railscast, railscasts, tips, tricks, tutorials, training, podcasts, programming" />
0
     <%= stylesheet_link_tag 'application' %>
0
+ <%= stylesheet_link_tag 'coderay' %>
0
     <%= yield(:head) %>
0
   </head>
0
   <body>
...
58
59
60
 
61
62
...
58
59
60
61
62
63
0
@@ -58,4 +58,5 @@ Rails::Initializer.run do |config|
0
   # config.active_record.default_timezone = :utc
0
   
0
   config.gem "RedCloth", :version => ">= 3.301", :source => "http://code.whytheluckystiff.net/"
0
+ config.gem "coderay"
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.