pandoc markdown snippets
I like writing using Markdown, and I like how LaTeX documents look. Pandoc allows me to write in Markdown and render it to PDF with LaTeX, but the defaults are sometimes not that great.
I usually start my documents with this:
---
title: Some Document
author: |
kitsune\
email@example.org
date: Thursday, 3 March 2022
papersize: a4
geometry: margin=2cm
documentclass: article
header-includes:
- \usepackage{multicol}
- \newcommand{\hideFromPandoc}[1]{#1}
- \hideFromPandoc{ \let\Begin\begin \let\End\end }
---