lib/pagehub-markdown/markdown.rb
# (re)constructs the renderer with the given options, see
# PageHubOptions, RendererOptions, and RendererExtensions
# for accepted values
(re)constructs the renderer with the given options, see
PageHubOptions, RendererOptions, and RendererExtensions
for accepted values
( re ) constructs the renderer with the given options see PageHubOptions RendererOptions and RendererExtensions for accepted values
def configure(ph_options = {}, options = {}, extensions = {})
        @@options  ||= PageHubOptions.dup
        @@options.merge!(ph_options)
        @@renderer = Redcarpet::Markdown.new(
          HTMLWithAlbino.new(RendererOptions.merge(options)),
          RendererExtensions.merge(extensions))
      end
def configure ( ph_options = { } , options = { } , extensions = { } ) @@options ||= PageHubOptions . dup @@options . merge! ( ph_options ) @@renderer = Redcarpet :: Markdown . new ( HTMLWithAlbino . new ( RendererOptions . merge ( options ) ) , RendererExtensions . merge ( extensions ) ) end
(re)constructs the renderer with the given options, see
PageHubOptions, RendererOptions, and RendererExtensions
for accepted values
( re ) constructs the renderer with the given options see PageHubOptions RendererOptions and RendererExtensions for accepted values
ph_options
<not_specific>
options
<not_specific>
extensions
<not_specific>