From 5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sat, 17 Mar 2018 20:13:53 +0100 Subject: Initial commit --- markdown.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 markdown.md (limited to 'markdown.md') diff --git a/markdown.md b/markdown.md new file mode 100644 index 0000000..4c8835e --- /dev/null +++ b/markdown.md @@ -0,0 +1,45 @@ +# Markdown/Pandoc tricks + +## Math + + $\text{\LaTeX}$ + + \begin{equation} + \mathbb{N} \ni 2 + 2 = 2^2 + \end{equation} + +## Links + +### Named links + + [This][link name] is a link. [Link name][] is the link's name. + + [link name]: (link title) + +### Automatic links + + + +## Presentations + + pandoc in.md -t beamer -o out.pdf + pandoc in.md -t beamer -o out.pdf -i # incremental lists + pandoc in.md -t beamer --slide-level 2 -o out.pdf # # - section, ## - slide + +### Markdown details + +* `#` is a new slide with heading +* Metadata to generate title page, select theme, etc.: + + --- + title: + - Title + subtitle: + - Subtitle + author: + - Author Name + - Another Author + theme: + - Copenhagen + toc: true + --- -- cgit v1.2.3