blob: 4c8835e1eeb76bb52624549edbee0d2bbb57897e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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]: <https://en.wikipedia.org> (link title)
### Automatic links
<https://youtube.com>
## 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
---
|