app/views/mini_blog/articles/show.json.ruby in mini_blog-0.1.0 vs app/views/mini_blog/articles/show.json.ruby in mini_blog-0.1.1
- old
+ new
@@ -1,3 +1,3 @@
{
- body: @article.body
+ body: Redcarpet::Markdown.new(Redcarpet::Render::HTML, autolink: true, tables: true, underline: true, highlight: true).render(@article.body)
}.to_json