Fix FAQ
This commit is contained in:
parent
00839f9b56
commit
cd904ae1bc
|
@ -16,7 +16,7 @@ module MarkdownHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def raw_markdown(content)
|
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
|
raw md.render content
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -15,4 +15,13 @@ MARKDOWN_OPTS = {
|
||||||
disable_indented_code_blocks: true,
|
disable_indented_code_blocks: true,
|
||||||
strikethrough: true,
|
strikethrough: true,
|
||||||
superscript: false
|
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