generate pdf file `output_filename` from markdown file `input_filename`,"with open(input_filename, 'r') as f: