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
Added to Reservations/development branch on 2012.07.16 by @dgoerger in order to enable markdown syntax in equipment model descriptions, reservation notes, and TOS.
Where / How we use it
markdown("text")
Files edited
Gemfile => gem 'redcarpet'
application_helper.rb => define markdown(text)
terms_of_service/index, reservations/_reservation_details, equipment_model/show, all the receipts => call markdown
Things to watch out for
the gem docs are not wholly updated for Redcarpet v2.0+; check out syntax in the Railscast comment linked above (Railscast #272 is out of date, by the way, and not compatible with v2.0+).