Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Use CodeMirror with Rails 3
Ruby
Tag: v0.1.2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
lib
vendor/assets
.gitignore
LICENSE
README.md
codemirror-rails.gemspec

README.md

CodeMirror for Rails 3

Generator to install current version of CodeMirror 2 into a Rails 3 project.

rails generate codemirror:install

TODO:

  • Suppport for the Rails 3.1+ asset pipline
  • Optionally install additional modes (currently only plain text)
  • View helpers?
  • JS initialization example for a basic CodeMirror textarea
Something went wrong with that request. Please try again.