Switch to Redcarpet for Markdown Rendering.
This gives us Github Flavored Markdown, which is awesome.
This commit is contained in:
parent
9ee345750c
commit
c437e2d7d4
7 changed files with 30 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue