mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
fixes a few copy/paste errors in the README
You'll to require 'redcloth' or 'rdoc' instead of 'markdown' for Textile or RDoc templates, respectively. Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
This commit is contained in:
parent
9cfa74a7f3
commit
64488d5ada
1 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@ Note that you may also call the markdown method from within other templates:
|
|||
|
||||
The RedCloth gem/library is required to render Textile templates:
|
||||
|
||||
## You'll need to require rdiscount in your app
|
||||
## You'll need to require redcloth in your app
|
||||
require "redcloth"
|
||||
|
||||
get '/' do
|
||||
|
@ -364,7 +364,7 @@ Note that you may also call the textile method from within other templates:
|
|||
|
||||
The RDoc gem/library is required to render RDoc templates:
|
||||
|
||||
## You'll need to require rdiscount in your app
|
||||
## You'll need to require rdoc in your app
|
||||
require "rdoc"
|
||||
|
||||
get '/' do
|
||||
|
|
Loading…
Reference in a new issue