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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
# Demo presentation
[Slides Source](https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/src/talks/demo.md) || [PDF version](/files/slides/Demo%20presentation%20-%20Syndamia.pdf)
**Created: 27 September 2022** || **Edited: 27 September 2022**
This is a small presentation, explaining how my custom system for making presentations works.
&&presentation
&&slide
&&flexer
&¢ered
# Slides system demo
<br>
Before we go any further, click the **icon, next to the printer** right above this rectangle.
Now the presentation should be fullscreen, on the bottom right are your controls.
Press the *right arrow* to go to the next slide.
&&/centered
&&flexer
kamen AT [syndamia.com](https://syndamia.com) || 2022
&&/slide
&&slide
# Introduction
This is my system for making and showing presentations. All articles on this website are written in Markdown and are converted into HTML, and these slides are no different. The contents are plain old Markdown, and the formatting is some "inserted" HTML.
The way I make these presentations is by wrapping valid Markdown with, what I call, [ftags](https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/generate-hooks/README.md#ftags): short pieces of text that are replaced by some [scripts](https://gitlab.com/Syndamia/syndamiadotcom/-/tree/master/generate-hooks) with specific HTML code. This allowes me to abstract and simplify certain stuff, like the [image tags for nationality flags](https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/generate-hooks/make-flags.sh) or the way presentations are made.
## Why?
Well, I have always thought about making something with which I could make presentations. Also, from time to time I do need to make a presentation, but tools like Microsoft PowerPoint or LibreOffice Impress have cause me many-a-headaches.
&&/slide
&&slide
# Features
The main things that my system provides, outside of what Markdown can do, are flexboxed rows and columns. There are two ftags via which I can specify a row or column, where everything inside is evenly spaced out and fills all possible space.
This allowes me to have content in multiple columns very easily:
&&fow
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc sed lectus porttitor nibh pellentesque ultrices ut in lorem. Pellentesque commodo dignissim placerat.
&&fol
And these are
items
in a
&&fol column.
&&/fol
&&flexer
Vestibulum sodales pharetra justo, placerat egestas arcu hendrerit vitae. Integer eros est, lobortis sit amet mollis nec, mollis in ex. In hac habitasse platea dictumst.

&&/fow
About that empty middle column, it's actually also an ftag, just an empty element with `flex: 1`.
&&/slide
&&slide
Another good feature is the printing compatibility. Each slide is the size of an A4 sheet of paper (in landscape orientation, of course), and there is special styling to make sure it all formats correctly when printing. Given that my website also supports a light mode, printing it out is a non-issue.
Although, a more sane thing to do is to print to a PDF file ...
And well, that's it. If you're interested, read more about it [here](https://gitlab.com/Syndamia/syndamiadotcom/-/blob/master/generate-hooks/make-presentation.sh), but overall, that's everything it currently provides (and the navigation bar, obviously).
I will for sure add more ftags and capabilitites in the future, but for now, this is all folkes!
&&flexer
&¢ered
# Have a great day!
&&/centered
&&flexer
*P.S. You can exit out of the presentation by pressing the same icon in the navbar, or by reloading the page ;)*
&&/slide
|