From fa527095a2d7b2b51e974637ead311d0908fc06d Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Fri, 3 Sep 2010 07:57:49 +0200 Subject: [PATCH] fix markup for inline code in README --- README.rdoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rdoc b/README.rdoc index 72f351bd..8f2c8867 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