Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rderoldan1 committed Jan 14, 2014
1 parent 0bfd1fb commit 78c593e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ In your `application.js`, include the javascript files:

There are a helper that make your textarea works like a _text editor :D_

```ruby
<%= md_simple_editor do %>
<%= text_area_tag "your id" %>
<% end %>
```rails
<%= md_simple_editor do %>
<%= text_area_tag "your id" %>
<% end %>
```
Also you can use inside a form
```ruby
<%= form_for @user do |f|
<%= md_simple_editor do %>
<%= f.text_area :description %>
<% end %>
```rails
<%= form_for @user do |f|
<%= md_simple_editor do %>
<%= f.text_area :description %>
<% end %>
<% end %>
```

## How it looks?

[Imgur](http://i.imgur.com/68DXCwP)
![Imgur](http://i.imgur.com/68DXCwP.png)


## ToDo
Expand Down

0 comments on commit 78c593e

Please sign in to comment.