README.rdoc in acts_as_markup-1.4.0 vs README.rdoc in acts_as_markup-1.4.1
- old
+ new
@@ -19,11 +19,11 @@
markup text, and another that defines what language to process it as. If the field
is listed as "markdown" "textile", "mediawiki" or "rdoc" (case insensitive) it will
treat it as such, any other value for markup language will have the value pass
through as a normal string.
-This AR extension can use 3 different types of Markdown processing backends:
+This AR extension can use 5 different types of Markdown processing backends:
BlueCloth, RDiscount, Ruby PEG, Redcarpet or Maruku. You specify which one you want to use by setting
a config value in your environment.rb file:
ActsAsMarkup.markdown_library = :bluecloth
@@ -135,14 +135,24 @@
* Maruku[http://maruku.rubyforge.org/]
* Redcarpet[https://github.com/tanoku/redcarpet]
== INSTALL:
-<tt>sudo gem install acts_as_markup</tt>
+==== Rails 2
+
+<tt>(sudo) gem install acts_as_markup</tt>
Add "+acts_as_markup+" to your environment.rb:
config.gem "acts_as_markup"
+
+==== Rails 3
+
+Simply add "+acts_as_markup+" to your Gemfile:
+
+ gem "acts_as_markup"
+
+And run "+bundle+ +install+"
== CONTRIBUTING:
Make a fork on GitHub, make your changes and do a pull request. Good places to start are adding new Markdown libraries or new markup languages, here's instructions for both: