Skip to content

Commit 25b6f3d

Browse files
committed
Merge pull request #310 from hedgesky/fix_markup_in_docs
fix code markup in docs
2 parents ab8a6ed + 869faad commit 25b6f3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ It also annotates geometrical columns, geom type and srid, when using
4444
# path :geometry line_string, 4326
4545

4646
Also, if you pass the -r option, it'll annotate routes.rb with the output of
47-
+rake routes+.
47+
<code>rake routes</code>.
4848

4949

5050
== Install
@@ -71,7 +71,7 @@ Into environment gems from Github checkout:
7171

7272
== Usage
7373

74-
(If you used the Gemfile install, prefix the below commands with +bundle exec+.)
74+
(If you used the Gemfile install, prefix the below commands with <code>bundle exec</code>.)
7575

7676
=== Usage in Rails
7777

@@ -100,7 +100,7 @@ To remove routes.rb annotations:
100100

101101
annotate --routes --delete
102102

103-
To automatically annotate every time you run +db:migrate+, either run +rails g annotate:install+ or add +Annotate.load_tasks+ to your `Rakefile`. See the [configuration in Rails](#configuration-in-rails) section for more info.
103+
To automatically annotate every time you run <code>db:migrate</code>, either run <code>rails g annotate:install</code> or add +Annotate.load_tasks+ to your `Rakefile`. See the [configuration in Rails](#configuration-in-rails) section for more info.
104104

105105
=== Usage Outside of Rails
106106

@@ -136,7 +136,7 @@ functionality:
136136
rake remove_annotation # Remove schema information from model and fixture files
137137

138138
By default, once you've generated a configuration file, annotate will be
139-
executed whenever you run +rake db:migrate+ (but only in development mode).
139+
executed whenever you run <code>rake db:migrate</code> (but only in development mode).
140140
If you want to disable this behavior permanently, edit the +.rake+ file and
141141
change:
142142

@@ -146,7 +146,7 @@ To:
146146

147147
'skip_on_db_migrate' => 'true',
148148

149-
If you want to run +rake db:migrate+ as a one-off without running annotate,
149+
If you want to run <code>rake db:migrate</code> as a one-off without running annotate,
150150
you can do so with a simple environment variable, instead of editing the
151151
+.rake+ file:
152152

0 commit comments

Comments
 (0)