diff --git a/README.rdoc b/README.rdoc index 72f351bdf1..8f2c886783 100644 --- a/README.rdoc +++ b/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