blob: 6df4493f2fdf12d98537b2d79b939e03f836bdb9 (
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
46
47
48
49
50
51
52
|
# 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>
## Images
![alt text](https://url.of/image.png)
![alt text][reference]
[reference]: https://url.of/image.png
## 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
---
|