-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
172 lines (149 loc) · 4.21 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Sroo Presentation</title>
<link rel="stylesheet" type="text/css" href="sroo.css" />
</head>
<body>
<section>
<h1>Sroo</h1>
<p>
Sroo makes simple slideshows with simplest markup
possible. Project is hosted here:
<a href="http://github.com/santamon/sroo">http://github.com/santamon/sroo</a>.
</p>
<section>
<p>Features:</p>
<ul>
<li>Intuitive navigation using mouse and keyboard</li>
<li>Prospectus view when displaying on small devices and in portrait orientation</li>
<li>Provides anchors to all slides so you have a permament
links to every slide and subslide</li>
<li>Auto scaling</li>
<li>Uses semantic tags instead of CSS classes</li>
<li>Doesn't impose any look on your presentation</li>
<li>Works on modern browsers (tested on IE9, Chrome 13,
Firefox 5, Opera 11)</li>
</ul>
</section>
</section>
<section>
<h1>The Simple Markup</h1>
<section>
<p>
Each slide is a <code><section></code>
inside <code><body></code>. Each section has a
optional <code><h1></code> header and each other node
inside slide becomes a subslide. In the outcome, subslides
shares same header.
</p>
<pre><code><body>
<section>
<h1>Slide No 1</h1>
<p>Subslide No 1.1</p>
<p>Subslide No 1.2</p>
</section>
<section>
...
</code></pre>
</section>
</section>
<section>
<h1>Even Simpler Markup</h1>
<section>
<p>
You don't have to write
manually <code><section></code>'s. As long as each
slide begins with <code><h1></code> or <code><hr
/></code> (in case of slide without a title) you're done.
</p>
<pre><code><body>
<h1>Slide No1</h1>
...subslides...
<hr />
<p>This slide doesn't have a title</p>
...
</code></pre>
</section>
</section>
<section>
<h1>Even Simpler Simpler Markdown</h1>
<section>
<p>
In case you are generating your content from Markdown, It's
becomes even better:
</p>
<pre><code># Slide No1
Some stuff
Other stuff
---
Some stuff on titleless slide
...
</code></pre>
</section>
</section>
<section>
<h1>Installation</h1>
<p>
Download sroo.css and sroo-min.js, put them somewhere and then
add the bolded parts to your html file:
</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Presentation</title>
<b><link rel="stylesheet" type="text/css"
href="sroo.css" /></b>
</head>
<body>
<section>
<h1>Slide 1</h1>
...
</section>
...
<b><script src="sroo-min.js"></script></b>
</body>
</html>
</code></pre>
</section>
<section>
<h1>Jekyll</h1>
<section>
<p>
It's extra easy to use it with Jekyll: There's a layout
ready for you
in <a href="http://github.com/santamon/sroo/tree/gh-pages/_layouts">_layouts</a>
directory. This doesn't require any plugins.
</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css"
href="sroo.css" />
</head>
<body>
{{ content }}
<script src="sroo-min.js"></script>
</body>
</html>
</code></pre>
</section>
</section>
<section>
<h1>Footer</h1>
<section>
<p>
Inspired <i>heavily</i> by
<a href="http://contrastrebellion.com/">Contrast
Rebellion</a>.
</p>
<p>Copywrong 2011 Szymon Witamborski, MIT License</p>
</section>
</section>
<script src="sroo-min.js"></script>
</body>
</html>