Retrospring/config/initializers/redcarpet.rb

18 lines
392 B
Ruby
Raw Normal View History

2015-01-12 04:00:00 -08:00
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
}