-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
179 lines (144 loc) · 5 KB
/
index.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Talkie.js - Web Components Based Presentation Library</title>
<link rel="canonical" href="https://ahomu.github.io/Talkie/" />
<link rel="stylesheet" href="./dist/talkie.css">
<link rel="stylesheet" href="./dist/talkie.theme-default.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai-sublime.min.css">
<meta property="og:url" content="https://ahomu.github.io/Talkie/">
<meta property="og:site_name" content="Talkie.js - Web Components Based Presentation Library">
<meta property="og:author" content="ahomu">
<meta name="twitter:url" content="https://ahomu.github.io/Talkie/">
<meta name="twitter:site" content="@ahomu">
<meta property="og:image" content="https://farm8.staticflickr.com/7469/16209884502_211d01ac0d_z_d.jpg">
<meta name="twitter:image" content="https://farm8.staticflickr.com/7469/16209884502_211d01ac0d_z_d.jpg">
<meta property="og:type" content="article">
<meta property="og:title" content="Talkie.js - Web Components Based Presentation Library">
<meta property="og:description" content="Enjoy your presentation & creativity!">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Talkie.js - Web Components Based Presentation Library">
<meta name="twitter:description" content="Enjoy your presentation & creativity!">
<meta name="description" content="Enjoy your presentation & creativity!">
</head>
<body>
<!-- put your slides -->
<tk-slide layout="cover" type="text/x-markdown">
# Talkie.js
Web Components Based Presentation Library
Go to [repository](https://github.com/ahomu/Talkie)
</tk-slide>
<tk-slide layout="bullets" type="text/x-markdown">
## Feature
- Markdown supported
- Code highlighting
- Responsive scaling
- FullScreen mode
- Vertical Scrolling
- Progress indicator
- Accessibility supported
<!-- - Pointer mode (press `B`)-->
</tk-slide>
<tk-slide layout="bullets" type="text/x-markdown">
## 機能 (Japanese)
- Markdown 書けるよ (੭ु˵>ヮ<)੭ु⁾⁾
- ハイライトばっちり _:(°ω° 」∠):_
- レスポンシブだよ (^з^)-☆
- フルスクリーン対応 (。•̀ᴗ-)✧
- 縦方向にスクロールできるよ (*´▽`)
- 進行度インジゲータあるよ c⌒っ.ω.)っ
- アクセシビリティ配慮してるよ ✧◝(⁰▿⁰)◜✧
<!-- - ポインターだせるよ (press `B`) ( ꒪◡꒪)-->
</tk-slide>
<tk-slide layout="code" invert type="text/x-markdown">
## in HTML
```html
<tk-slide layout="title">
<h1>Section Title</h1>
<p>Lorem ipsum dolor sit amet, consect...</p>
</tk-slide>
<tk-slide layout="bullets">
<h2>The bullets</h2>
<ul>
<li>Foo</li>
<li>Bar</li>
<li>Baz</li>
</ul>
</tk-slide>
```
</tk-slide>
<tk-slide layout="code" invert type="text/x-markdown">
## in Markdown
```html
<tk-slide layout="title" type="text/x-markdown">
# Section Title
Lorem ipsum dolor sit amet, consect...
</tk-slide>
<tk-slide layout="bullets" type="text/x-markdown">
## The bullets
- Foo
- Bar
- Baz
</tk-slide>
```
You can use `tk-slide` element instead of `script`.
</tk-slide>
<tk-slide layout="code" invert type="text/x-markdown">
## Backface image & filter
```html
<tk-slide layout
backface="background-image.jpg"
backface-filter="blur(1px) brightness(.8)">
<h1>Title</h1>
<p>foo, bar, baz, qux...</p>
</tk-slide>
```
</tk-slide>
<tk-slide layout="title" invert type="text/x-markdown"
backface="https://farm8.staticflickr.com/7469/16209884502_211d01ac0d_z_d.jpg"
backface-filter="blur(3px) brightness(.9)">
## Backface (北極)
`backface-filter="blur(3px) brightness(.9)"`
</tk-slide>
<tk-slide layout="title" type="text/x-markdown">
## Vertical Scrolling<br />👇👇👇
Convenient to quickly browse with mobile devices.
</tk-slide>
<tk-slide layout="bullets" type="text/x-markdown">
## FullScreen mode
When you press the **"f"** key will be a full-screen mode. "f" or "Esc" key Press and then exit.
</tk-slide>
<tk-slide layout="bullets" type="text/x-markdown">
## Presenter note
Open developer tools, will show presenter notes
-----
Yes! This is your note!
</tk-slide>
<tk-slide layout="code" invert type="text/x-markdown">
## Runtime Options
```typescript
interface TalkieRuntimeOptions {
wide?: boolean; // default: false
horizontal?: boolean; // default: false
}
talkie.run(options);
```
</tk-slide>
<tk-slide layout="cover" type="text/x-markdown">
## Enjoy!
[ahomu/Talkie - GitHub.com](https://github.com/ahomu/Talkie)
</tk-slide>
<tk-pager></tk-pager>
<tk-progress></tk-progress>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script src="./dist/webcomponents-loader.js"></script>
<script src="./dist/talkie.js"></script>
<script>
window.addEventListener('WebComponentsReady', function(e) {
document.body.className += ' webcomponents-ready';
talkie.run({wide: false, horizontal: false});
});
</script>
</body>
</html>