diff options
author | pacien | 2022-11-30 21:38:44 +0100 |
---|---|---|
committer | pacien | 2022-11-30 21:38:44 +0100 |
commit | 0749847aeab2dcaab43f50956f9cf0b21c31943b (patch) | |
tree | 45514d319037ceaae85b86b2037c88df800b95fe /lectures/01-first-lecture.md | |
parent | f1b105571b35b72f5f32c6e2e9c645580b17c0bc (diff) | |
download | markdown-course-website-0749847aeab2dcaab43f50956f9cf0b21c31943b.tar.gz |
add example content, compile to site and pdf
Diffstat (limited to 'lectures/01-first-lecture.md')
-rw-r--r-- | lectures/01-first-lecture.md | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lectures/01-first-lecture.md b/lectures/01-first-lecture.md new file mode 100644 index 0000000..59d6aa2 --- /dev/null +++ b/lectures/01-first-lecture.md | |||
@@ -0,0 +1,32 @@ | |||
1 | --- | ||
2 | title: "First lecture" | ||
3 | theme: metropolis | ||
4 | --- | ||
5 | |||
6 | # First chapter | ||
7 | |||
8 | ## Intro | ||
9 | |||
10 | This document is compiled into: | ||
11 | |||
12 | * Beamer slides (PDF) for the actual lecture, and | ||
13 | * An HTML page on the course's website for easy access during exercise | ||
14 | sessions. | ||
15 | |||
16 | |||
17 | # Second chapter | ||
18 | |||
19 | ## Math | ||
20 | |||
21 | LaTeX math expressions can be used here: | ||
22 | |||
23 | $$ f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n $$ | ||
24 | |||
25 | ## Code listing | ||
26 | |||
27 | An example of code listing with syntax highlighting: | ||
28 | |||
29 | ```python | ||
30 | def hello(): | ||
31 | print('hello world') | ||
32 | ``` | ||