aboutsummaryrefslogtreecommitdiff
path: root/slides
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2018-09-19 03:30:26 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2018-09-19 03:30:26 +0200
commit40ea8d80683c944d46f8e33f3a0957c61dabc453 (patch)
treeb7690366ee1a2e6cc280da66d06b477b443bc65e /slides
parentdb33c6b294f38e82154156e496826736f009186d (diff)
downloadmitjafelicijan.com-40ea8d80683c944d46f8e33f3a0957c61dabc453.tar.gz
content update
Diffstat (limited to 'slides')
-rw-r--r--slides/example/index.html81
-rw-r--r--slides/example/slides.md27
2 files changed, 88 insertions, 20 deletions
diff --git a/slides/example/index.html b/slides/example/index.html
index 2ca36c0..586794f 100644
--- a/slides/example/index.html
+++ b/slides/example/index.html
@@ -10,30 +10,73 @@
10 <body> 10 <body>
11 11
12 <script src="//cdnjs.cloudflare.com/ajax/libs/remark/0.14.0/remark.min.js"></script> 12 <script src="//cdnjs.cloudflare.com/ajax/libs/remark/0.14.0/remark.min.js"></script>
13 <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML&delayStartupUntil=configured"></script>
13 14
14 <script> 15 <script>
15 let slideshow = remark.create({ 16 MathJax.Hub.Config({
16 sourceUrl: 'slides.md', 17 //displayAlign: 'left',
17 ratio: '16:9', 18 extensions: ['tex2jax.js'],
18 mouseWheel: false, 19 jax: ['input/TeX', 'output/SVG'],
19 }); 20 tex2jax: {
21 skipTags: ['script', 'noscript', 'style', 'textarea', 'code'],
22 inlineMath: [
23 ['$', '$'],
24 ["\\(", "\\)"]
25 ],
26 displayMath: [
27 ['$$', '$$'],
28 ["\\[", "\\]"]
29 ],
30 }
31 });
32 MathJax.Hub.Configured();
33
34 let slideshow = remark.create({
35 sourceUrl: 'slides.md',
36 ratio: '16:9',
37 mouseWheel: false,
38 });
39
20 </script> 40 </script>
21 41
22 <style> 42 <style>
23 * { box-shadow: none !important;} 43 * {
24 .remark-container { 44 box-shadow: none !important;
25 background-color: #fff !important; 45 }
26 } 46
27 table { 47 .remark-container {
28 width:100%; 48 background-color: #fff !important;
29 border-collapse:collapse; 49 }
30 border-spacing:0; 50
31 } 51 table {
32 table, table td,table th { 52 width: 100%;
33 border: 3px solid #f0f0f0; 53 border-collapse: collapse;
34 text-align: left; 54 border-spacing: 0;
35 padding: 10px; 55 }
36 } 56
57 table,
58 table td,
59 table th {
60 border: 3px solid #f0f0f0;
61 text-align: left;
62 padding: 10px;
63 }
64
65 img[src$="md-center"] {
66 display: block;
67 margin: 0 auto;
68 }
69
70 img[src$="md-left"] {
71 display: block;
72 margin: 0 auto;
73 }
74
75 img[src$="md-right"] {
76 display: block;
77 margin: 0 auto;
78 }
79
37 </style> 80 </style>
38 81
39 </body> 82 </body>
diff --git a/slides/example/slides.md b/slides/example/slides.md
index 3fd92cd..457ba12 100644
--- a/slides/example/slides.md
+++ b/slides/example/slides.md
@@ -7,11 +7,36 @@ Couple of example slides to test
7 7
8![alt text](https://media.giphy.com/media/i9qmSfLuXXcXK/giphy.gif) 8![alt text](https://media.giphy.com/media/i9qmSfLuXXcXK/giphy.gif)
9 9
10
11---
12
13## Math
14
15$$ \large{ \mathbb{R}^2 ∈ \vec{a} \bar{a} } $$
16$$ \large{ e^{i\pi} + 1 = 0 } $$
17$$ \large{ x = {-b \pm \sqrt{b^2-4ac} \over 2a} } $$
18
19
20$$ e^{i\pi} + 1 = 0 $$
21
22$$ \large{ \sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6} } $$
23
24$$ \large{ ABCDEFGHIJKLMNOPQRSTUVXYZ } $$
25
10--- 26---
11 27
12## Image 28## Image
13 29
14![alt text](https://media.giphy.com/media/4d0nGeMweD49q/giphy.gif) 30![alt text](https://media.giphy.com/media/4d0nGeMweD49q/giphy.gif?style=md-center)
31
32
33---
34
35## Lists
36
37- Couple of example slides to test
38- Couple of example slides to test
39- Couple of example slides to test
15 40
16--- 41---
17 42