def convert!
      merged_contents = []
      @files.each do |file|
        markup = Markup::Renderer.new file, @config.remove_front_matter
        html = convert_image_urls markup.render, file.filename
        if @config.merge
          html = "<div class=\"page-break\"></div>#{html}" unless merged_contents.empty?
          merged_contents << html
        else
          output_pdf(html, file)
        end
        puts html if @config.debug
      end

      unless merged_contents.empty?
        html = merged_contents.join
        output_pdf(html, nil)
      end
    end
def convert!
      merged_contents = []
      @files.each do |file|
        markup = Markup::Renderer.new file, @config.remove_front_matter
        html = convert_image_urls markup.render, file.filename
        if @config.merge
          html = "<div class=\"page-break\"></div>#{html}" unless merged_contents.empty?
          merged_contents << html
        else
          output_pdf(html, file)
        end
        puts html if @config.debug
      end

      unless merged_contents.empty?
        html = merged_contents.join
        output_pdf(html, nil)
      end
    end
Initialize the converter with a File
 @param [Array] files The list of Gimli::MarkupFile to convert (passing a single file will still work)
 @param [Gimli::Config] config
 Convert the file and save it as a PDF file