jipiboily / monologue-markdown

A small and simple efficient extension to Monologue that replace the default WYSIWYG editor with a Markdown editor.
http://jipiboily.com/2013/monologue-0-3-0-released-and-monologue-markdown
MIT License
4 stars 18 forks source link

monologue-markdown

This is a simple extension that will change Monologue's default editor to EpicEditor which will let you use Markdown instead of a WYSIWYG edit.

IMPORTANT: this README is for Monologue 0.3.X.

Install on a brand new Monologue installation

This is simple, you just have to add this file to your Gemfile after Monologue:

gem "monologue-markdown", :git => "git@github.com:jipiboily/monologue-markdown.git"

Then run this:

bundle exec rake monologue_markdown:install:migrations
bundle exec rake db:migrate

Install on an already existing Monologue installation

You do the same as for a new Monologue installation, but, keep in mind that only new posts will have EpicEditor enabled. All the posts that existed before will still be using the WYSIWYG editor.

For Code Highlighting

sudo easy_install Pygments

Notes

There are Deface overrides with this project. You might want to (read: "should") turn it off on production. If you do, you can add a Capistrano task to precompile them or precompile them locally.

Read more about this here.