I'd like to be able to double-click something that automatically converts all markdown files (txt) existing inside a folder into a pdf (or tex) file. I think it's call a Batch but I couldn't understand what to look for.
I know how to use the Terminal to convert a single markdown file (md, or txt) into a pdf using Pandoc and MacTeX:
To output a pdf is,
And to output a LaTeX file is,
Thank you
I know how to use the Terminal to convert a single markdown file (md, or txt) into a pdf using Pandoc and MacTeX:
To output a pdf is,
Code:
pandoc input-file.txt -s -o output-file.pdf
And to output a LaTeX file is,
Code:
pandoc input-file.txt -s -o output-file.tex
Thank you