Fix FAQ
This commit is contained in:
parent
00839f9b56
commit
cd904ae1bc
|
@ -16,7 +16,7 @@ module MarkdownHelper
|
|||
end
|
||||
|
||||
def raw_markdown(content)
|
||||
md = Redcarpet::Markdown.new(Redcarpet::Render::HTML)
|
||||
md = Redcarpet::Markdown.new(Redcarpet::Render::HTML, RAW_MARKDOWN_OPTS)
|
||||
raw md.render content
|
||||
end
|
||||
|
||||
|
|
|
@ -16,3 +16,12 @@ MARKDOWN_OPTS = {
|
|||
strikethrough: true,
|
||||
superscript: false
|
||||
}
|
||||
|
||||
RAW_MARKDOWN_OPTS = {
|
||||
tables: true,
|
||||
fenced_code_blocks: true,
|
||||
autolink: true,
|
||||
disable_indented_code_blocks: true,
|
||||
strikethrough: true,
|
||||
superscript: false
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 95189e89259051d36676f8bc9f8d93e2041e4030
|
||||
Subproject commit 7f6cd02e6efe2e78322ab9b651c32606f95695f4
|
Loading…
Reference in New Issue