A template for writing assignments using LaTeX and Markdown with Pandoc