public
Description: Very small Rails plugin to enable the WMD Editor (http://wmd-editor.com/).
Homepage:
Clone URL: git://github.com/crnixon/wmd_on_rails.git
name age message
file MIT-LICENSE Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
file README Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
file Rakefile Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
file init.rb Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
file install.rb Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
directory javascripts/ Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
directory lib/ Thu Sep 18 11:43:55 -0700 2008 added the ability to create new wmd textareas [crnixon]
directory tasks/ Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
directory test/ Wed Sep 10 12:11:36 -0700 2008 initial commit [crnixon]
README
WmdOnRails
==========

This plugin helps you use the WMD Editor in your Rails app.

Use It
======

Rake tasks
----------
wmd_on_rails:update

  Copy the WMD Editor javascripts to public/javascripts/wmd.

View methods
------------
- enable_wmd(options)

  Outputs WMD JavaScript setup. Give it any options you want to
  pass to the WMD editor. Defaults are as normal, except output.
  We output Markdown by default instead of HTML.
  
- wmd_preview(options)

  Outputs a div with the class "wmd-preview". Options are :tag to use
  something besides a div, and :class to add more classes to the object.

Copyright (c) 2008 Clinton "Knuckles" Nixon of Viget Labs, released under the MIT license.