# Optional Markdown support, not for JRuby
# ToDo: Remove common_mark group when common_mark is decoupled from markdown. See defect (#36892) for more details.
-gem 'redcarpet', '~> 3.5.1', groups: [:markdown, :common_mark]
+gem 'redcarpet', '~> 3.5.1', groups: [:markdown]
# Optional CommonMark support, not for JRuby
group :common_mark do
format.register :textile
format.register :markdown if Object.const_defined?(:Redcarpet)
if Object.const_defined?(:CommonMarker)
- format.register :common_mark, label: 'CommonMark Markdown (GitHub Flavored) - experimental'
+ format.register :common_mark, label: 'CommonMark Markdown (GitHub Flavored)'
end
end