Skip to content

Commit

Permalink
Putting some github flavor on our markdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
marano committed May 7, 2013
1 parent ee772f2 commit 7235be2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rollin/article.rb
Expand Up @@ -64,7 +64,9 @@ def body
redcarpet = Redcarpet::Markdown.new(Redcarpet::Render::HTML,
autolink: true,
space_after_headers: true,
hard_wrap: true)
hard_wrap: true,
fenced_code_blocks: true,
disable_indented_code_blocks: true)
redcarpet.render(read_from_file.content)
end

Expand Down

0 comments on commit 7235be2

Please sign in to comment.