Sha256: 2a2f26d8ecaa9046869bae11d648eace4b19812b2636ae2826abad53398cc7c8

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

= Markdown Toolbar

Markdown Toolbar is an lightweight helper buttons that appear over textarea


== Installation

In <b>Rails 3.1</b>, add this to your Gemfile and run the +bundle+ command.

  gem "markdown-toolbar"

Alternatively, you can install it as a plugin.

  rails plugin install git://github.com/fuksito/markdown-toolbar.git


== Getting Started

Markdown Toolbar requires you to add such lines to your application.js

  //= require markdown-toolbar

and to application.css

  *= require markdown-toolbar
  
Then you can add toolbar to any textarea by adding a class +markdown-toolbar+ to it

  <%= f.text_area :text, :class => "markdown-toolbar" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markdown-toolbar-0.0.4 README.rdoc