class CustomTiltRender
github.com/slim-template/slim/issues/192#issuecomment-2369670
Public Instance Methods
options()
click to toggle source
# File lib/roger_better_markdown/renderer.rb, line 44 def options { fenced_code_blocks: true, superscript: true, smartypants: true, no_intra_emphasis: true, renderer: renderer } end
renderer()
click to toggle source
# File lib/roger_better_markdown/renderer.rb, line 54 def renderer render_options = { # https://github.com/vmg/redcarpet#darling-i-packed-you-a-couple-renderers-for-lunch filter_html: false, no_images: false, no_links: false, no_styles: false, safe_links_only: false, with_toc_data: true, hard_wrap: false, xhtml: false, prettify: false, link_attributes: {}, } HTMLwithPygments.new(render_options) end