Merge branch 'master' into gitlab-flavored-markdown

This commit is contained in:
Riyad Preukschas 2012-08-06 01:48:20 +02:00
commit 8e6a7a172e
57 changed files with 331 additions and 1042 deletions

View file

@ -122,7 +122,7 @@ module ApplicationHelper
end
def markdown(text)
@__renderer ||= Redcarpet::Markdown.new(Redcarpet::Render::GitlabHTML.new(self, filter_html: true), {
@__renderer ||= Redcarpet::Markdown.new(Redcarpet::Render::GitlabHTML.new(self, filter_html: true, with_toc_data: true), {
no_intra_emphasis: true,
tables: true,
fenced_code_blocks: true,