pre><code>pandoc document.md -o document.pdf</code></pre>
<p>to convert the document from markdown to PDF. However, this won't have any of the desired formatting. To include the formatting, you just add some flags and arguments as such:</p>
<pre><code>pandoc document.md -o document.pdf --bibliography cite.bib --csl style.csl -H format.sty</code></pre>
<p>To automate this code and potentially output PDF, Word, and HTML documents all at once you can easily create a <code>make</code> file. To do this open a te