README formatting adjustments

This commit is contained in:
Konstantin Haase 2011-01-11 09:31:11 +01:00
parent 314a98fc8e
commit 9fc3f1d10b
1 changed files with 15 additions and 15 deletions

View File

@ -174,7 +174,7 @@ directly.
=== Haml Templates === Haml Templates
The haml gem/library is required to render HAML templates: The <tt>haml</tt> gem/library is required to render HAML templates:
# You'll need to require haml in your app # You'll need to require haml in your app
require 'haml' require 'haml'
@ -210,7 +210,7 @@ Renders <tt>./views/index.erb</tt>.
=== Erubis Templates === Erubis Templates
The erubis gem/library is required to render Erubis templates: The <tt>erubis</tt> gem/library is required to render Erubis templates:
# You'll need to require erubis in your app # You'll need to require erubis in your app
require 'erubis' require 'erubis'
@ -234,7 +234,7 @@ Renders <tt>./views/index.erb</tt> with Erubis.
=== Builder Templates === Builder Templates
The builder gem/library is required to render builder templates: The <tt>builder</tt> gem/library is required to render builder templates:
# You'll need to require builder in your app # You'll need to require builder in your app
require 'builder' require 'builder'
@ -247,7 +247,7 @@ Renders <tt>./views/index.builder</tt>.
=== Nokogiri Templates === Nokogiri Templates
The nokogiri gem/library is required to render nokogiri templates: The <tt>nokogiri</tt> gem/library is required to render nokogiri templates:
# You'll need to require nokogiri in your app # You'll need to require nokogiri in your app
require 'nokogiri' require 'nokogiri'
@ -260,7 +260,7 @@ Renders <tt>./views/index.nokogiri</tt>.
=== Sass Templates === Sass Templates
The haml gem/library is required to render Sass templates: The <tt>haml</tt> or <tt>sass</tt> gem/library is required to render Sass templates:
# You'll need to require haml or sass in your app # You'll need to require haml or sass in your app
require 'sass' require 'sass'
@ -284,7 +284,7 @@ and overridden on an individual basis.
=== Scss Templates === Scss Templates
The haml gem/library is required to render Scss templates: The <tt>haml</tt> or <tt>sass</tt> gem/library is required to render Scss templates:
# You'll need to require haml or sass in your app # You'll need to require haml or sass in your app
require 'sass' require 'sass'
@ -308,7 +308,7 @@ and overridden on an individual basis.
=== Less Templates === Less Templates
The less gem/library is required to render Less templates: The <tt>less</tt> gem/library is required to render Less templates:
# You'll need to require less in your app # You'll need to require less in your app
require 'less' require 'less'
@ -321,7 +321,7 @@ Renders <tt>./views/stylesheet.less</tt>.
=== Liquid Templates === Liquid Templates
The liquid gem/library is required to render Liquid templates: The <tt>liquid</tt> gem/library is required to render Liquid templates:
# You'll need to require liquid in your app # You'll need to require liquid in your app
require 'liquid' require 'liquid'
@ -339,7 +339,7 @@ template, you almost always want to pass locals to it:
=== Markdown Templates === Markdown Templates
The rdiscount gem/library is required to render Markdown templates: The <tt>rdiscount</tt> gem/library is required to render Markdown templates:
# You'll need to require rdiscount in your app # You'll need to require rdiscount in your app
require "rdiscount" require "rdiscount"
@ -378,7 +378,7 @@ Renders <tt>./views/index.md</tt> with BlueCloth.
=== Textile Templates === Textile Templates
The RedCloth gem/library is required to render Textile templates: The <tt>RedCloth</tt> gem/library is required to render Textile templates:
# You'll need to require redcloth in your app # You'll need to require redcloth in your app
require "redcloth" require "redcloth"
@ -394,14 +394,14 @@ therefore will usually use it in combination with another rendering engine:
erb :overview, :locals => { :text => textile(:introduction) } erb :overview, :locals => { :text => textile(:introduction) }
Note that you may also call the textile method from within other templates: Note that you may also call the +textile+ method from within other templates:
%h1 Hello From Haml! %h1 Hello From Haml!
%p= textile(:greetings) %p= textile(:greetings)
=== RDoc Templates === RDoc Templates
The RDoc gem/library is required to render RDoc templates: The <tt>rdoc</tt> gem/library is required to render RDoc templates:
# You'll need to require rdoc in your app # You'll need to require rdoc in your app
require "rdoc" require "rdoc"
@ -417,14 +417,14 @@ therefore will usually use it in combination with another rendering engine:
erb :overview, :locals => { :text => rdoc(:introduction) } erb :overview, :locals => { :text => rdoc(:introduction) }
Note that you may also call the rdoc method from within other templates: Note that you may also call the +rdoc+ method from within other templates:
%h1 Hello From Haml! %h1 Hello From Haml!
%p= rdoc(:greetings) %p= rdoc(:greetings)
=== Radius Templates === Radius Templates
The radius gem/library is required to render Radius templates: The <tt>radius</tt> gem/library is required to render Radius templates:
# You'll need to require radius in your app # You'll need to require radius in your app
require 'radius' require 'radius'
@ -442,7 +442,7 @@ template, you almost always want to pass locals to it:
=== Markaby Templates === Markaby Templates
The markaby gem/library is required to render Markaby templates: The <tt>markaby</tt> gem/library is required to render Markaby templates:
# You'll need to require markaby in your app # You'll need to require markaby in your app
require 'markaby' require 'markaby'