forked from rubysherpas/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
Formatters
nruth edited this page Feb 17, 2013
·
5 revisions
To change the post formatting behaviour, you may want to try these gems:
- Forem - Markdown (RDiscount) formatter
- Forem - Markdown (Kramdown) formatter
- Forem - GitHub Flavored Markdown (Redcarpet) formatter
- Forem - Textile formatter
It is preferrable that if you want to use your own formatter to set Forem.formatter
to a class defined by you which contains a format
method that will be used. If Forem.formatter
is set
then it will reference this formatter and not use the default simple_format
which is defined by Rails.