It effortlessly integrates with Rails and other Rackbased frameworks.
Put this in your Gemfile.
rake markitup:install:base rake markitup:install:markdown
Now, if you provide a text area with the class specified as keyword in config/markup.yml, the text area will turn into an editor. The default keyword is (this is case sensitive!):
So this should do it...
There is no additional configuration needed. However a config file is created, which can be customized, if you want to have things differently. After the first request, you'll find it here:
Limitations & Todo
- preview function, not yet supported
- currently only supports markdown
Links & Acknowledgements
- Thanks to Jay Salvat for the awsome markup editor