Rails editor for the middleman blog
Let's face it : Middleman is great to make static sites, but having to write our articles in code can be a pain.
RailsTheMan gives you a rich editor to write your articles as you like.
Define the path to your middleman application (not the blog in your applicaiton) in config/application.rb :
config.path_application = 'yourpath'
You can also change the TinyMCE options in config/tinymce.yml
You can use it in local with the rails dev server :
rails s
It will list and create the articles in the path application of your middleman
If you have set the timezone in your middlemanblog config.rb :
Time.zone = "Paris"
please set the same timezone in railstheman config/application.rb :
config.time_zone = 'Paris'
Note than railstheman doesn't set the hour in articles to avoid conflicts in the timezone
It uses TinyMCE as editor with the gem tinymce-rails, and Stupid jQuery Table Sort to sort the articles table.
With my Writetheman gem to manage and format the middleman files,
In the editor there are two options I really like : Format/Inline/Code and Tools/Source
railstehman gives a new type of article, the quote :
It uses the header parameters to add the author and source to an article.
To differentiate between the basic article and the quote, it adds 'category' in the header parameters : it contains 'quote' or 'article' or nothing (your goold old article)
Have a look to the Middleman paid extension : Middleman Blog Editor
MIT, have fun