Method: Md2Pdf::BackGrounder#convert

Defined in:
lib/md2pdf/converter.rb

#convert(input_filename, output_filename) ⇒ Object



21
22
23
24
# File 'lib/md2pdf/converter.rb', line 21

def convert(input_filename, output_filename)
  wrapped_converter.convert(input_filename, temp_filename)
  shell.exec("pdftk #{temp_filename} multibackground #{background_path} output #{output_filename}")
end