diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-12-23 13:05:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-12-23 13:05:10 +0000 |
commit | 471e01ca5059f892888f78e2278dd41d742a4b75 (patch) | |
tree | a07ecd3d8911cf0e6ce1220584fa2c10ed81b9ab /lib/redmine.rb | |
parent | 6311ade82708b63b83d30278a1af4c05af4aee6e (diff) | |
download | redmine-471e01ca5059f892888f78e2278dd41d742a4b75.tar.gz redmine-471e01ca5059f892888f78e2278dd41d742a4b75.zip |
Adds experimental support for Markdown formatting with redcarpet (#15520).
git-svn-id: http://svn.redmine.org/redmine/trunk@12452 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index e62014c73..187689ea1 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -267,6 +267,8 @@ end Redmine::WikiFormatting.map do |format| format.register :textile, Redmine::WikiFormatting::Textile::Formatter, Redmine::WikiFormatting::Textile::Helper + format.register :markdown, Redmine::WikiFormatting::Markdown::Formatter, Redmine::WikiFormatting::Markdown::Helper, + :label => 'Markdown (experimental)' end ActionView::Template.register_template_handler :rsb, Redmine::Views::ApiTemplateHandler |