Switch to Redcarpet for Markdown Rendering.

This gives us Github Flavored Markdown, which is awesome.
This commit is contained in:
Arthur Schreiber 2012-04-17 23:02:21 +02:00
parent 9ee345750c
commit c437e2d7d4
7 changed files with 30 additions and 13 deletions

View file

@ -9,7 +9,7 @@
%hr
.wiki_content
= preserve do
= markdown_to_html @wiki.content
= markdown @wiki.content
%p.time Last edited by #{@wiki.user.name}, in #{time_ago_in_words @wiki.created_at}
- if can? current_user, :admin_wiki, @project