README.md in tablecloth-rails-1.0.0 vs README.md in tablecloth-rails-1.0.1
- old
+ new
@@ -1,41 +1,51 @@
# tablecloth-rails [![Gem Version](https://badge.fury.io/rb/tablecloth-rails.png)](http://badge.fury.io/rb/tablecloth-rails)
-> Created by Doc Walker
+> Gemified by Doc Walker
Provides the `Tablecloth` JavaScript/CSS packaged for the Rails 3.1+ asset pipeline.
## Installation
-Add these lines to your application's Gemfile:
+Add these lines to your application's `Gemfile`:
- # tablecloth table js/css packaged for the rails asset pipeline
- gem 'tablecloth-rails', '~> 1.0'
+```rb
+# tablecloth table js/css packaged for the rails asset pipeline
+gem 'tablecloth-rails', '~> 1.0'
+```
And then execute:
- $ bundle
+```sh
+$ bundle
+```
Or install it yourself as:
- $ gem install tablecloth-rails
+```sh
+$ gem install tablecloth-rails
+```
Gem version notes:
- x.y.z version will track the `Tablecloth` version;
- It may contain a suffix to differentiate versions of the gem based on the same `Tablecloth` version;
## Usage
Add these lines to `app/assets/javascripts/application.js`
- // provides tablecloth table js/css from gem 'tablecloth-rails':
- //= require tablecloth
+```js
+// provides tablecloth table js/css from gem 'tablecloth-rails':
+//= require tablecloth-rails
+```
Add these lines to `app/assets/stylesheets/application.css`
- provides tablecloth table js/css from gem 'tablecloth-rails':
- = require tablecloth
+```css
+provides tablecloth table js/css from gem 'tablecloth-rails':
+= require tablecloth-rails
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)