Sha256: 7423f4193bcf664d038c85005855e4321c427d2c3be5a6ca03a5881b0ce8bf81

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 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 jquery-fieldselection
  //= 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, :size => '90x30', :class => "markdown-toolbar" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
markdown-toolbar-0.0.3 README.rdoc
markdown-toolbar-0.0.2 README.rdoc
markdown-toolbar-0.0.1 README.rdoc