Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix markup for inline code in README

  • Loading branch information...
commit fa527095a2d7b2b51e974637ead311d0908fc06d 1 parent aaeb564
@rkh authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.rdoc
View
8 README.rdoc
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.