fix markup for inline code in README

This commit is contained in:
Konstantin Haase 2010-09-03 07:57:49 +02:00
parent aaeb564a43
commit fa527095a2
1 changed files with 4 additions and 4 deletions

View File

@ -93,7 +93,7 @@ Routes may include a variety of matching conditions, such as the user agent:
# Matches non-songbird browsers
end
Other available conditions are `host_name` and `provides`:
Other available conditions are +host_name+ and +provides+:
get '/', :host_name => /^admin\./ do
"Admin Area, Access denied!"
@ -129,8 +129,8 @@ also accepted.
You can return any object that would either be a valid Rack response, Rack body object
or HTTP status code:
* An Array with three elements: `[status (Fixnum), headers (Hash), response body (responds to #each)]`
* An Array with two elements: `[status (Fixnum), response body (responds to #each)]`
* An Array with three elements: +[status (Fixnum), headers (Hash), response body (responds to #each)]+
* An Array with two elements: +[status (Fixnum), response body (responds to #each)]+
* An object that responds to #each and passes nothing but strings to the given block
* A Fixnum representing the status code
@ -349,7 +349,7 @@ Templates may be defined at the end of the source file:
%div.title Hello world!!!!!
NOTE: Inline templates defined in the source file that requires sinatra
are automatically loaded. Call `enable :inline_templates` explicitly if you
are automatically loaded. Call +enable :inline_templates+ explicitly if you
have inline templates in other source files.
=== Named Templates