You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
Ryan Bigg edited this page Jul 20, 2013
·
9 revisions
During the initial development of Forem, we asked people to point to Forem in their Gemfile like this:
gem'forem',:github=>"radar/forem"
As of this writing, Forem's current development and all installations of Forem are using the master branch of the repository. There is probably going to be a point where this is no longer A Good Idea. This point is rapidly approaching.
To fix this little issue, we will tag a 1.0 release. Before this though, there are some large sweeping changes that we are going to implement to round out the release. They are as follows.
Removing forem-redcarpet dependency
Currently, for syntax highlighting, we're using forem-redcarpet. This gem works well, but has a dependency on a gem that needs Python installed. We believe that you shouldn't need to have Python installed to run Forem.
We will be switching to using highlight.js instead. This means the syntax highlighting will be done client-side, rather than server-side.
Alternatively, we should evaluate rainbows.js too.
Default theme
Forem will also come with a default theme, providing a file at app/views/layouts/forem.html.erb inside the engine that will be used as the default layout for the engine. To customize the layout used, people can place this code inside their config/initializers/forem.rb: