mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-20 11:16:06 +01:00
27 lines
562 B
Ruby
27 lines
562 B
Ruby
require 'redcarpet/render_strip'
|
|
|
|
MARKDOWN_OPTS = {
|
|
filter_html: true,
|
|
escape_html: true,
|
|
no_images: true,
|
|
no_styles: true,
|
|
safe_links_only: true,
|
|
xhtml: false,
|
|
hard_wrap: true,
|
|
no_intra_emphasis: true,
|
|
tables: true,
|
|
fenced_code_blocks: true,
|
|
autolink: true,
|
|
disable_indented_code_blocks: true,
|
|
strikethrough: true,
|
|
superscript: false
|
|
}
|
|
|
|
RAW_MARKDOWN_OPTS = {
|
|
tables: true,
|
|
fenced_code_blocks: true,
|
|
autolink: true,
|
|
disable_indented_code_blocks: true,
|
|
strikethrough: true,
|
|
superscript: false
|
|
}
|