diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-03-17 20:13:53 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-03-17 20:13:53 +0100 |
commit | 5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce (patch) | |
tree | 22961c3008efa7cfbab13f6c69c21d4e8807b8c5 /markdown.md |
Initial commit
Diffstat (limited to 'markdown.md')
-rw-r--r-- | markdown.md | 45 |
1 files changed, 45 insertions, 0 deletions
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]: <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 + --- |