title: Title author: - First Author - Second Author date: \today{} header-includes: - \usepackage[a4paper, portrait, margin=4cm]{geometry} - \usepackage{amsmath, amssymb, amsthm, amsfonts} - \usepackage{blindtext}
- \hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan
}
- \linespread{1.1}
- \newtheorem{theorem}{Theorem}
\begin{abstract} Well markdown is just plaintext. It just needs a simple editor like notepad to write a text in markdown. This document is entirely written in markdown and just rendered to PDF as you see now. This is the simplicity and profoundness of markdown! LaTeX, MS Word, HTML --- reduced to plaintext! \end{abstract}
\tableofcontents
\textcolor{blue}{Colorful}.
Suppose
It's so simple to make lists. This is an ordered list.
- Humans
- Are
- Crazy
This is an unordered list.
- Computers
- Are
- Sane
This is how a table looks.
\begin{theorem} This is a theorem. \end{theorem}
Here is an inline math:
If you want to number the equation, then resort to LaTeX environments. :)
\begin{equation} (i\gamma _{\mu} \partial ^{\mu} - m)\Psi = 0 \end{equation}
Just use the usual TeX for math.
This is a link.
Code is formatted like this:
import os, exit
os.chdir(r'~/Documents/')
if not os.listdir():
print('Directory is empty.')
sys.exit()
print(listdir())
\blindtext
\begin{thebibliography}{1} \bibitem{tmp} This. \end{thebibliography}