def format_content(content = nil, &block)
      content = capture(&block) if block_given?
      parser  = Blogit::configuration.default_parser_class.new(content)
      parser.parsed.to_s.html_safe
    end
def format_content(content = nil, &block)
      content = capture(&block) if block_given?
      parser  = Blogit::configuration.default_parser_class.new(content)
      parser.parsed.to_s.html_safe
    end
Format content using the {Blogit::Configuration#default_parser_class default_parser_class}

 content - A String containing the content to be formatted (defaults: nil)
 block   - A Proc that returns a String of content to be formatted

 Examples

   format_content("# This is a Markdown header")
   # => "<h1>This is a Markdown header</h1>"

   format_content do
     "some text"
   end
   # => "<p>some text</p>"

 Returns an HTML safe String.