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
|
@ -1,5 +1,2 @@
|
|||
module WikisHelper
|
||||
def markdown_to_html(text)
|
||||
RDiscount.new(text).to_html.html_safe
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue