aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides/markdown.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/rails_guides/markdown.rb')
-rw-r--r--guides/rails_guides/markdown.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/guides/rails_guides/markdown.rb b/guides/rails_guides/markdown.rb
index 6037016f12..e6c9fea87e 100644
--- a/guides/rails_guides/markdown.rb
+++ b/guides/rails_guides/markdown.rb
@@ -54,14 +54,12 @@ module RailsGuides
end
def engine
- @engine ||= Redcarpet::Markdown.new(Renderer, {
- no_intra_emphasis: true,
+ @engine ||= Redcarpet::Markdown.new(Renderer, no_intra_emphasis: true,
fenced_code_blocks: true,
autolink: true,
strikethrough: true,
superscript: true,
- tables: true
- })
+ tables: true)
end
def extract_raw_header_and_body