lib/formol/generators/install/templates/initializer/formol.rb.erb in formol-0.0.5 vs lib/formol/generators/install/templates/initializer/formol.rb.erb in formol-0.0.6

- old
+ new

@@ -6,13 +6,11 @@ # formol need to know how to access to authenticated user # usually, helper method is called 'current_user' config.current_user_helper_method = :<%= current_user_helper %> - # choose what text formatter you need - # actually only :markdown is available - # we will add :bbcode in a near future + # choose what text formatter you need (:bbcode or :markdown) config.text_formatter = :markdown # you need to provide an email adress wich will be used as sender adress in all # email that formol will send # @@ -23,6 +21,11 @@ # <%= user_class %> needs to respond to 'email' method for that # Formol provides a default avatar but you could not like it # If you wanna change it, uncomment the following line # you can set a relative path as you used it in image_tag() or an absolute path # config.default_avatar = 'formol/default_avatar.png' + + # change default pygment theme (syntax highlighting) + # if you don't provide a pygment_theme, :pastie will be used as default + # you can choose one in [:autumn, :borland, :bw, :colorful, :default, :emacs, :friendly, :fruity, :manni, :murphy, :native, :pastie, :perldoc, :tango, :trac, :vim, :vs] + # config.default_pygment_theme = :pastie end \ No newline at end of file