wiki is done
This commit is contained in:
parent
2e1f119f22
commit
bdc42488e9
8 changed files with 42 additions and 7 deletions
5
app/helpers/wikis_helper.rb
Normal file
5
app/helpers/wikis_helper.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
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