You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple plaintext presentation tool. Ported from [sent](https://tools.suckless.org/sent/).
4
+
5
+
## Additional features:
6
+
2
7
- Font selection
3
8
- Line height slider
4
9
- Dark mode switch
5
10
6
-
Usage:
11
+
## Usage:
7
12
8
13
1. Copy the repository
9
-
1. grap the example folder
10
14
1. double click on the `index.html`
11
15
1. edit your presentation text in the built-in editor (press `Escape` to open it)
12
16
1. export your presentation via `save` button (save the `presentation.html` nearby the `index.html`) or copy paste your presentation text right into the `index.html`'s script section
13
17
1. done! Rename the example folder as you wish, zip it or whatever and give your presentation!
14
18
15
-
# sentjs
16
-
Simple plaintext presentation tool. Ported from [sent](https://tools.suckless.org/sent/).
17
-
18
19
## Example:
19
20
20
21
Create an HTML file containing your presentation slides where each slide is separated by a blank line:
22
+
21
23
```html
22
-
<metacharset="utf-8">
23
-
<scriptsrc="sent.js">
24
-
@http://www.nyan.cat/cats/original.gif
25
-
this text will not be displayed, since the @ at the start of the first line
26
-
makes this paragraph an image slide.
24
+
<metacharset='utf-8'>
25
+
<scriptsrc='sent.js'>
27
26
28
27
sentjs
29
28
@@ -33,65 +32,77 @@ get your point across fast
33
32
34
33
simple to use
35
34
36
-
2 slide types
37
-
🖹 Text
38
-
🌼 Image
39
-
40
-
built-in editor
41
-
⇒press escape
42
-
43
-
depends on
44
-
♽ HTML5
45
-
☢ CSS3
46
-
☃ JavaScript
35
+
depends on:
36
+
-HTML5
37
+
-CSS3
38
+
- JavaScript
47
39
48
40
usage:
49
41
\
50
42
<meta charset="utf-8">
51
-
<script src="http://unpkg.com/sentjs">
43
+
<script src="sent.js">
52
44
slide 1
53
45
\
54
46
slide 2
55
47
\
56
48
etc
57
49
<\/script>
58
50
59
-
one slide per paragraph
51
+
2 slide types
52
+
• Text
53
+
• Image (and GIFs)
60
54
61
-
lines starting with # are ignored
55
+
built-in editor
56
+
=> press escape
62
57
63
-
image slide == paragraph containing @URL
58
+
> one slide per paragraph*
59
+
> lines starting with # are ignored
60
+
> image/gif slide: paragraph containing @FILENAME
61
+
> empty slide: just use a \\ as a paragraph
64
62
65
-
empty slide == just use a \\ as a paragraph
63
+
# Image from local folder
64
+
@PNG_transparency_demonstration_1.png
66
65
67
-
Use \\<space>for a blank line in a slide
66
+
# GIF from local folder
67
+
@cat-space.gif
68
68
69
-
# This is a comment and will not be part of the presentation
69
+
# Image from URL
70
+
@https://cataas.com/cat
70
71
71
-
# multiple empty lines between paragraphs are also ignored
72
+
# GIF from URL
73
+
@https://www.nyan.cat/cats/original.gif
72
74
75
+
The next slide is empty
73
76
77
+
# Empty slide is just \
78
+
\
74
79
80
+
*You can have several paragraphs in one slide
81
+
\
82
+
Use \\<space>for a blank line in a slide
83
+
84
+
# Use \ to escape \ or # or @
75
85
\@this_line_actually_started_with_a_\\.png
76
86
\#This line as well
77
-
⇒ Use backslash to kill behaviour of tags
87
+
=> Use backslash to kill behaviour of tags
78
88
79
89
UTF-8 support:
80
90
\
81
91
😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏
82
-
😐😑😒😓😔😕😖😗😘😙😚😛😜😝😞😟
83
92
😠😡😢😣😥😦😧😨😩😪😫😭😮😯😰😱
84
-
😲😳😴😵😶😷😸😹😺😻😼😽😾😿🙀☠
85
93
86
94
Thanks to ⇒
87
95
▸ Takahashi
88
96
▸ suckless.org
97
+
▸ Philip Bohun
98
+
▸ github.com/dfadev
99
+
89
100
90
-
fini
101
+
thanks.
102
+
questions?
91
103
92
-
# must have closing script tag
93
104
</script>
94
-
```
95
105
96
-
Then view the file in your browser. Use arrow keys to navigate. F11 for fullscreen. ESC to open editor.
106
+
```
97
107
108
+
Then view the file in your browser. Use arrow keys to navigate. F11 for fullscreen. ESC to open editor.
0 commit comments