rabbit 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/_layouts/skeleton.html +1 -0
- data/doc/css/rabbit.css +2 -1
- data/doc/css/syntax.scss +67 -0
- data/doc/en/development.rd +31 -0
- data/doc/en/index.rd +0 -4
- data/doc/en/news.rd +55 -0
- data/doc/en/sample/markdown/rabbit.md +250 -246
- data/doc/en/usage/rabbit.rd +16 -0
- data/doc/ja/development.rd +30 -0
- data/doc/ja/index.rd +0 -5
- data/doc/ja/news.rd +55 -0
- data/doc/ja/sample/markdown/rabbit.md +251 -247
- data/doc/ja/usage/rabbit.rd +16 -1
- data/lib/rabbit/command/rabbit.rb +5 -1
- data/lib/rabbit/element/index-slide.rb +1 -1
- data/lib/rabbit/element/text-renderer.rb +7 -7
- data/lib/rabbit/gtk.rb +17 -10
- data/lib/rabbit/image/svg.rb +25 -23
- data/lib/rabbit/info-window.rb +1 -0
- data/lib/rabbit/parser/ext/rouge.rb +126 -0
- data/lib/rabbit/parser/markdown/converter.rb +4 -4
- data/lib/rabbit/parser/rd/ext/block-verbatim.rb +13 -1
- data/lib/rabbit/parser/rd/rt/rt2rabbit-lib.rb +3 -3
- data/lib/rabbit/parser/wiki/output.rb +9 -3
- data/lib/rabbit/progress.rb +16 -8
- data/lib/rabbit/renderer/display/drawing-area-base.rb +8 -8
- data/lib/rabbit/renderer/display/drawing-area-primitive.rb +3 -3
- data/lib/rabbit/renderer/display/graffiti.rb +39 -39
- data/lib/rabbit/renderer/display/progress.rb +3 -2
- data/lib/rabbit/renderer/display/search.rb +1 -1
- data/lib/rabbit/renderer/kernel.rb +1 -1
- data/lib/rabbit/search-window.rb +2 -2
- data/lib/rabbit/source/memory.rb +4 -0
- data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +1 -1
- data/lib/rabbit/theme/color-circle-title-slide/color-circle-title-slide.rb +1 -1
- data/lib/rabbit/theme/default-block-quote/default-block-quote.rb +1 -1
- data/lib/rabbit/theme/image-slide-number/image-slide-number.rb +13 -2
- data/lib/rabbit/theme/lightning-talk-toolkit/lightning-talk-toolkit.rb +2 -2
- data/lib/rabbit/theme/slide-number/slide-number.rb +1 -1
- data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +3 -0
- data/lib/rabbit/theme/table/table.rb +1 -1
- data/lib/rabbit/theme/title-on-image-toolkit/title-on-image-toolkit.rb +1 -1
- data/lib/rabbit/utils.rb +1 -1
- data/lib/rabbit/version.rb +2 -2
- data/po/en/rabbit.edit.po +107 -107
- data/po/fr/rabbit.edit.po +107 -107
- data/po/ja/rabbit.edit.po +107 -107
- data/rabbit.gemspec +3 -2
- data/sample/rabbit-en.rd +12 -0
- data/sample/rabbit.rd +12 -0
- data/test/parser/test-markdown.rb +9 -57
- metadata +20 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0df2786b75210136620c85a2edbbcd6215a63ab8
|
4
|
+
data.tar.gz: c6e3665a3c448faace3c0c8a765fe8965194a1ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6157b2a4964ce052c5abf0b54cb68ef82bccf3669b798be9f60db3273d98da29eb3ab94aa41e9f924d35e9ee1e21d0864e86cf61ac89359166a38f90040bb98
|
7
|
+
data.tar.gz: 5861d180ed40322b1e2788d574088fac90ded7cbc186ce0f32a326a78de048e3d45eb036dd56177a18be5f857acc398fdab6b67a93715722b09c65868d9fedca
|
data/doc/_layouts/skeleton.html
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
<link rel="icon" href="/favicon.png" type="image/png">
|
10
10
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
11
11
|
type="text/css">
|
12
|
+
<link rel="stylesheet" href="/css/syntax.css" type="text/css">
|
12
13
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
13
14
|
<meta property="fb:page_id" content="rabbit.shocker">
|
14
15
|
<meta property="fb:admins" content="kouhei.sutou">
|
data/doc/css/rabbit.css
CHANGED
data/doc/css/syntax.scss
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
.highlighter-rouge {
|
5
|
+
white-space: pre-wrap;
|
6
|
+
background: #ffffff;
|
7
|
+
|
8
|
+
.c { color: #999988; font-style: italic } /* Comment */
|
9
|
+
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
10
|
+
.k { font-weight: bold } /* Keyword */
|
11
|
+
.o { font-weight: bold } /* Operator */
|
12
|
+
.cm { color: #999988; font-style: italic } /* Comment.Multiline */
|
13
|
+
.cp { color: #999999; font-weight: bold } /* Comment.Preproc */
|
14
|
+
.c1 { color: #999988; font-style: italic } /* Comment.Single */
|
15
|
+
.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
|
16
|
+
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
|
17
|
+
.gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
|
18
|
+
.ge { font-style: italic } /* Generic.Emph */
|
19
|
+
.gr { color: #aa0000 } /* Generic.Error */
|
20
|
+
.gh { color: #999999 } /* Generic.Heading */
|
21
|
+
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
|
22
|
+
.gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
|
23
|
+
.go { color: #888888 } /* Generic.Output */
|
24
|
+
.gp { color: #555555 } /* Generic.Prompt */
|
25
|
+
.gs { font-weight: bold } /* Generic.Strong */
|
26
|
+
.gu { color: #aaaaaa } /* Generic.Subheading */
|
27
|
+
.gt { color: #aa0000 } /* Generic.Traceback */
|
28
|
+
.kc { font-weight: bold } /* Keyword.Constant */
|
29
|
+
.kd { font-weight: bold } /* Keyword.Declaration */
|
30
|
+
.kp { font-weight: bold } /* Keyword.Pseudo */
|
31
|
+
.kr { font-weight: bold } /* Keyword.Reserved */
|
32
|
+
.kt { color: #445588; font-weight: bold } /* Keyword.Type */
|
33
|
+
.m { color: #009999 } /* Literal.Number */
|
34
|
+
.s { color: #d14 } /* Literal.String */
|
35
|
+
.na { color: #008080 } /* Name.Attribute */
|
36
|
+
.nb { color: #0086B3 } /* Name.Builtin */
|
37
|
+
.nc { color: #445588; font-weight: bold } /* Name.Class */
|
38
|
+
.no { color: #008080 } /* Name.Constant */
|
39
|
+
.ni { color: #800080 } /* Name.Entity */
|
40
|
+
.ne { color: #990000; font-weight: bold } /* Name.Exception */
|
41
|
+
.nf { color: #990000; font-weight: bold } /* Name.Function */
|
42
|
+
.nn { color: #555555 } /* Name.Namespace */
|
43
|
+
.nt { color: #000080 } /* Name.Tag */
|
44
|
+
.nv { color: #008080 } /* Name.Variable */
|
45
|
+
.ow { font-weight: bold } /* Operator.Word */
|
46
|
+
.w { color: #bbbbbb } /* Text.Whitespace */
|
47
|
+
.mf { color: #009999 } /* Literal.Number.Float */
|
48
|
+
.mh { color: #009999 } /* Literal.Number.Hex */
|
49
|
+
.mi { color: #009999 } /* Literal.Number.Integer */
|
50
|
+
.mo { color: #009999 } /* Literal.Number.Oct */
|
51
|
+
.sb { color: #d14 } /* Literal.String.Backtick */
|
52
|
+
.sc { color: #d14 } /* Literal.String.Char */
|
53
|
+
.sd { color: #d14 } /* Literal.String.Doc */
|
54
|
+
.s2 { color: #d14 } /* Literal.String.Double */
|
55
|
+
.se { color: #d14 } /* Literal.String.Escape */
|
56
|
+
.sh { color: #d14 } /* Literal.String.Heredoc */
|
57
|
+
.si { color: #d14 } /* Literal.String.Interpol */
|
58
|
+
.sx { color: #d14 } /* Literal.String.Other */
|
59
|
+
.sr { color: #009926 } /* Literal.String.Regex */
|
60
|
+
.s1 { color: #d14 } /* Literal.String.Single */
|
61
|
+
.ss { color: #990073 } /* Literal.String.Symbol */
|
62
|
+
.bp { color: #999999 } /* Name.Builtin.Pseudo */
|
63
|
+
.vc { color: #008080 } /* Name.Variable.Class */
|
64
|
+
.vg { color: #008080 } /* Name.Variable.Global */
|
65
|
+
.vi { color: #008080 } /* Name.Variable.Instance */
|
66
|
+
.il { color: #009999 } /* Literal.Number.Integer.Long */
|
67
|
+
}
|
data/doc/en/development.rd
CHANGED
@@ -48,3 +48,34 @@ the following:
|
|
48
48
|
|
49
49
|
% mkdir po/#{LANG}
|
50
50
|
% ./update-po.rb
|
51
|
+
|
52
|
+
=== Build development environment
|
53
|
+
|
54
|
+
==== Clone repository
|
55
|
+
|
56
|
+
Source code of ((<"http://rabbit-shocker.org/"/this site>)) are on the Github. It's same of Rabbit's ((<repository|URL:https://github.com/rabbit-shocker/rabbit/>)).
|
57
|
+
|
58
|
+
% git clone https://github.com/rabbit-shocker/rabbit.git
|
59
|
+
|
60
|
+
It's under doc dir.
|
61
|
+
|
62
|
+
|
63
|
+
==== Install gems
|
64
|
+
|
65
|
+
Install gems by Bundler.
|
66
|
+
|
67
|
+
% cd rabbit
|
68
|
+
% bundle install --path vendor/bundle
|
69
|
+
|
70
|
+
((<"http://bundler.io/"/Bundler>)) is package manager tool. It needs installing before.
|
71
|
+
|
72
|
+
% gem install bundler
|
73
|
+
|
74
|
+
|
75
|
+
==== Start development server
|
76
|
+
|
77
|
+
Start development server by rake task.
|
78
|
+
|
79
|
+
% bundle exec rake doc:server
|
80
|
+
|
81
|
+
Web server is booted after run doc:server task. Access ((<"http://127.0.0.1:4000/index.html.ja"/"http://127.0.0.1:4000/index.html.ja">)) locallly.
|
data/doc/en/index.rd
CHANGED
@@ -158,10 +158,6 @@ or later. Kouhei Sutou can change the license of them. He considers
|
|
158
158
|
that authors of them agree with the rule when they contribute their
|
159
159
|
patches, codes and so on.
|
160
160
|
|
161
|
-
lib/rabbit/div/prototype.js released under an MIT-style
|
162
|
-
licence. For more information see ((<Prototype JavaScript
|
163
|
-
Framework|URL:http://prototype.conio.net/>)).
|
164
|
-
|
165
161
|
The author of
|
166
162
|
data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-white.jpg
|
167
163
|
and
|
data/doc/en/news.rd
CHANGED
@@ -3,6 +3,61 @@ layout: en
|
|
3
3
|
title: News
|
4
4
|
---
|
5
5
|
{% raw %}
|
6
|
+
== 2.2.1: 2017-09-15
|
7
|
+
|
8
|
+
For RubyKaigi 2017 speakers release.
|
9
|
+
|
10
|
+
=== Improvements
|
11
|
+
|
12
|
+
==== rabbit
|
13
|
+
|
14
|
+
* Supported Rouge.
|
15
|
+
|
16
|
+
* Suppressed warnings with Ruby 2.4.
|
17
|
+
[GitHub#109][Patch by Nobuyoshi Nakada]
|
18
|
+
|
19
|
+
==== Theme
|
20
|
+
|
21
|
+
* image-slide-number: Supported "extra slides".
|
22
|
+
If you set "image-slide-number-last-slide" slide property to "true",
|
23
|
+
image timer computes its position as the slide is the last slide.
|
24
|
+
Image timer isn't moved for the following slides.
|
25
|
+
|
26
|
+
==== Document
|
27
|
+
|
28
|
+
* Added a sample slide for RD style.
|
29
|
+
[GitHub#105][Patch by Masayuki Morisaki]
|
30
|
+
|
31
|
+
* Added a document how to prepare development environment.
|
32
|
+
[GitHub#106][Patch by Masayuki Morisaki]
|
33
|
+
|
34
|
+
* Removed license information for prototype.js that removed.
|
35
|
+
[GitHub#107][Patch by Ryunosuke Sato]
|
36
|
+
|
37
|
+
=== Fixes
|
38
|
+
|
39
|
+
==== rabbit
|
40
|
+
|
41
|
+
* Information windows: Fixed a source format detection failure.
|
42
|
+
[GitHub#102][Patch by Akihisa Higuchi]
|
43
|
+
|
44
|
+
==== Document
|
45
|
+
|
46
|
+
* Fixed style of sample page.
|
47
|
+
[GitHub#103][Reported by takiy33]
|
48
|
+
|
49
|
+
=== Thanks
|
50
|
+
|
51
|
+
* Akihisa Higuchi
|
52
|
+
|
53
|
+
* takiy33
|
54
|
+
|
55
|
+
* Masayuki Morisaki
|
56
|
+
|
57
|
+
* Ryunosuke Sato
|
58
|
+
|
59
|
+
* Nobuyoshi Nakada
|
60
|
+
|
6
61
|
== 2.2.0: 2017-01-22
|
7
62
|
|
8
63
|
Markdown support improvement release.
|
@@ -2,382 +2,386 @@
|
|
2
2
|
layout: en
|
3
3
|
title: "Sample slide: Rabbit"
|
4
4
|
---
|
5
|
-
|
5
|
+
{% raw %}
|
6
|
+
```markdown
|
7
|
+
# Rabbit
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
+
subtitle
|
10
|
+
: Presentation with Markdown
|
9
11
|
|
10
|
-
|
11
|
-
|
12
|
+
author
|
13
|
+
: Kouhei Sutou
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
+
institution
|
16
|
+
: COZMIXNG
|
15
17
|
|
16
|
-
|
17
|
-
|
18
|
+
theme
|
19
|
+
: rabbit
|
18
20
|
|
19
|
-
|
21
|
+
# Rabbit
|
20
22
|
|
21
|
-
|
23
|
+
A presentation tool
|
22
24
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
* Impl.: Ruby/GTK+ 2/cairo
|
26
|
+
* Env.: PC-UNIX/Win/Mac
|
27
|
+
* Format:
|
28
|
+
RD/Wiki/Markdown/PDF
|
29
|
+
* View: Ruby
|
28
30
|
|
29
|
-
|
31
|
+
# Features: Display (1)
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
+
* *Emphasis*
|
34
|
+
* Syntax highlight
|
33
35
|
|
34
|
-
|
36
|
+
# Features: Display (2)
|
35
37
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
38
|
+
* Tables
|
39
|
+
* Interesting themes
|
40
|
+
* Images
|
41
|
+
* Many supported formats
|
42
|
+
* PNG/JPEG/.../PDF/EPS/SVG
|
41
43
|
|
42
|
-
|
44
|
+
# Features: Display (3)
|
43
45
|
|
44
|
-
|
45
|
-
|
46
|
-
|
46
|
+
* Folding long lines
|
47
|
+
* Syntax highlight
|
48
|
+
* Big text
|
47
49
|
|
48
|
-
|
50
|
+
# Features: UI (1)
|
49
51
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
* Rich key bindings
|
53
|
+
* Context menu
|
54
|
+
* Mouse gestures
|
55
|
+
* Spotlight
|
56
|
+
* Magnifier
|
55
57
|
|
56
|
-
|
58
|
+
# Features: UI (2)
|
57
59
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
60
|
+
* Index page
|
61
|
+
* Graffiti
|
62
|
+
* I18N
|
63
|
+
* Search
|
62
64
|
|
63
|
-
|
65
|
+
# Features: UI (3)
|
64
66
|
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
* Whiteout/Blackout
|
68
|
+
* Rabbit hole
|
69
|
+
* Make a hole in a slide
|
70
|
+
* Visualization of remaining time
|
71
|
+
* The Tortoise and the Hare
|
70
72
|
|
71
|
-
|
73
|
+
# Features: Input
|
72
74
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
75
|
+
* File
|
76
|
+
* Standard input
|
77
|
+
* HTTP
|
78
|
+
* Hiki
|
79
|
+
* SlideShare
|
78
80
|
|
79
|
-
|
81
|
+
# Features: Format
|
80
82
|
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
83
|
+
* Wiki(Hiki)
|
84
|
+
* RD
|
85
|
+
* Markdown (kramdown)
|
86
|
+
* PDF
|
87
|
+
* →PDF viewer
|
86
88
|
|
87
|
-
|
89
|
+
# Features: Output
|
88
90
|
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
* Images
|
92
|
+
* Images + HTML
|
93
|
+
* PS/PDF
|
94
|
+
* PS/PDF for print
|
95
|
+
* slides/page
|
94
96
|
|
95
|
-
|
97
|
+
# Features: Ext. API
|
96
98
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
99
|
+
* HTTP
|
100
|
+
* dRuby
|
101
|
+
* XML-RPC
|
102
|
+
* SOAP
|
101
103
|
|
102
|
-
|
104
|
+
# Features: Creating
|
103
105
|
|
104
|
-
|
105
|
-
|
106
|
-
|
106
|
+
* Auto source reload
|
107
|
+
* Theme reload
|
108
|
+
* Change theme
|
107
109
|
|
108
|
-
|
110
|
+
# ToDo
|
109
111
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
112
|
+
* Inline images
|
113
|
+
* Jump to a link
|
114
|
+
* Sound
|
115
|
+
* Video
|
116
|
+
* 3D
|
115
117
|
|
116
|
-
|
118
|
+
# Image
|
117
119
|
|
118
|
-
|
120
|
+
{:width='100' height='100'}
|
119
121
|
|
120
|
-
|
122
|
+
# Image: Reflect
|
121
123
|
|
122
|
-
|
124
|
+
{:relative_height='80' reflect_ratio='0.5'}
|
123
125
|
|
124
|
-
|
126
|
+
# Image: Background (1)
|
125
127
|
|
126
|
-
|
127
|
-
|
128
|
+
* Background image
|
129
|
+
* Centering by default
|
128
130
|
|
129
|
-
|
131
|
+
## Properties
|
130
132
|
|
131
|
-
|
132
|
-
|
133
|
+
background-image
|
134
|
+
: lavie.png
|
133
135
|
|
134
|
-
|
135
|
-
|
136
|
+
background-image-relative-width
|
137
|
+
: 50
|
136
138
|
|
137
|
-
|
138
|
-
|
139
|
-
|
139
|
+
{::comment}
|
140
|
+
background-image-align
|
141
|
+
: right
|
140
142
|
|
141
|
-
|
142
|
-
|
143
|
-
|
143
|
+
background-image-relative-margin-right
|
144
|
+
: 3
|
145
|
+
{:/comment}
|
144
146
|
|
145
|
-
|
147
|
+
# Image: Background (2)
|
146
148
|
|
147
|
-
|
149
|
+
{:relative_width="30" align="right" relative_margin_right="-5"}
|
148
150
|
|
149
|
-
|
150
|
-
|
151
|
-
|
151
|
+
* Right justified backgorund image
|
152
|
+
* Specify in slide
|
153
|
+
* \{:align="right"\}
|
152
154
|
|
153
|
-
|
155
|
+
# Image size
|
154
156
|
|
155
|
-
|
157
|
+
Relative image sizes
|
156
158
|
|
157
|
-
|
159
|
+
{:caption="USAGI" relative_height="50"}
|
158
160
|
|
159
|
-
|
161
|
+
# External image
|
160
162
|
|
161
|
-
|
163
|
+
Download an image from a URL
|
162
164
|
|
163
|
-
|
165
|
+

|
164
166
|
|
165
|
-
|
167
|
+
# Math. expressions
|
166
168
|
|
167
|
-
|
168
|
-
|
169
|
-
|
169
|
+
* TeX format
|
170
|
+
* Backends
|
171
|
+
* LaTeX
|
170
172
|
|
171
|
-
|
173
|
+
# LaTeX
|
172
174
|
|
173
|
-
|
174
|
-
|
175
|
+
$$
|
176
|
+
$f(x)=\displaystyle\int_{-\infty}^x~e^{-t^2}dt$
|
175
177
|
|
176
|
-
|
177
|
-
|
178
|
+
\LaTeX
|
179
|
+
$$
|
178
180
|
|
179
|
-
|
181
|
+
# EPS
|
180
182
|
|
181
|
-
|
183
|
+
Create EPS ahead of time
|
182
184
|
|
183
|
-
|
185
|
+
{:relative_width="80"}
|
184
186
|
|
185
|
-
|
187
|
+
# SVG
|
186
188
|
|
187
|
-
|
189
|
+
{:relative_height="100"}
|
188
190
|
|
189
|
-
|
191
|
+
# Dia
|
190
192
|
|
191
|
-
|
193
|
+
{:relative_width="90"}
|
192
194
|
|
193
|
-
|
195
|
+
# GIMP
|
194
196
|
|
195
|
-
|
197
|
+
{:relative_height="100"}
|
196
198
|
|
197
|
-
|
199
|
+
# Word Wrapping
|
198
200
|
|
199
|
-
|
201
|
+
looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong
|
200
202
|
|
201
|
-
|
203
|
+
# Source
|
202
204
|
|
203
|
-
|
205
|
+
The following is source code:
|
204
206
|
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
207
|
+
# comment
|
208
|
+
def method_name
|
209
|
+
body
|
210
|
+
end
|
209
211
|
|
210
|
-
|
212
|
+
End of source code.
|
211
213
|
|
212
|
-
|
214
|
+
# Source: Highlighted
|
213
215
|
|
214
|
-
|
216
|
+
The following is source code:
|
215
217
|
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
218
|
+
# comment
|
219
|
+
def method_name
|
220
|
+
body
|
221
|
+
end
|
222
|
+
{: lang="ruby"}
|
221
223
|
|
222
|
-
|
224
|
+
End of source code.
|
223
225
|
|
224
|
-
|
226
|
+
# Quotation
|
225
227
|
|
226
|
-
|
227
|
-
|
228
|
+
> You take the ''red pill'', you stay in Wonderland and
|
229
|
+
> I show you how deep the ''rabbit-hole'' goes.
|
228
230
|
|
229
|
-
|
231
|
+
# Enumeration
|
230
232
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
233
|
+
* Level 1-1
|
234
|
+
* Level 2-1
|
235
|
+
* Level 3-1
|
236
|
+
* Level 3-2
|
237
|
+
* Level 2-2
|
238
|
+
* Level 1-2
|
237
239
|
|
238
|
-
|
240
|
+
# Labeled list
|
239
241
|
|
240
|
-
|
241
|
-
|
242
|
+
Rabbit
|
243
|
+
: USAGI
|
242
244
|
|
243
|
-
|
244
|
-
|
245
|
+
Tortoise
|
246
|
+
: KAME
|
245
247
|
|
246
|
-
|
247
|
-
|
248
|
+
USAGI
|
249
|
+
: Rabbit
|
248
250
|
|
249
|
-
|
251
|
+
# Table
|
250
252
|
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
253
|
+
| Heading 1 | Heading 2 |
|
254
|
+
|---------|--------|
|
255
|
+
| content 1 | content 2 |
|
256
|
+
| very long content 3 | veeeery looooooooooooooooooooooong content 4 |
|
255
257
|
|
256
|
-
|
258
|
+
# Op.: Move
|
257
259
|
|
258
|
-
|
259
|
-
|
260
|
+
Next page
|
261
|
+
: Bindings for next page/Left click
|
260
262
|
|
261
|
-
|
263
|
+
n, f, j, l, Spc, Ret, +, ↓, →, ...
|
262
264
|
|
263
|
-
|
264
|
-
|
265
|
+
Previous page
|
266
|
+
: Bindings for prev. page/Center click
|
265
267
|
|
266
|
-
|
268
|
+
p, b, k, h, BS, Del, -, ↑, ←, ...
|
267
269
|
|
268
|
-
|
270
|
+
# Op.: Advanced move
|
269
271
|
|
270
|
-
|
271
|
-
|
272
|
+
Go to the title page
|
273
|
+
: a, 0, <, Home
|
272
274
|
|
273
|
-
|
274
|
-
|
275
|
+
Go to page n
|
276
|
+
: 1-9, +Ctrl=+10, +Alt=+20
|
275
277
|
|
276
|
-
|
277
|
-
|
278
|
+
Go to the last page
|
279
|
+
: e, $, >, End
|
278
280
|
|
279
|
-
|
281
|
+
# Op.: On stage (1)
|
280
282
|
|
281
|
-
|
282
|
-
|
283
|
+
Toggle full screen
|
284
|
+
: F5, F10, F11, Gesture↓↑
|
283
285
|
|
284
|
-
|
285
|
-
|
286
|
+
Toggle index mode
|
287
|
+
: i
|
286
288
|
|
287
|
-
|
288
|
-
|
289
|
+
Go to the page
|
290
|
+
: Double click on the desired page
|
289
291
|
|
290
|
-
|
292
|
+
# Op.: On stage (2)
|
291
293
|
|
292
|
-
|
293
|
-
|
294
|
+
Cache all slides
|
295
|
+
: c
|
294
296
|
|
295
|
-
|
296
|
-
|
297
|
+
Toggle info window
|
298
|
+
: I
|
297
299
|
|
298
|
-
|
300
|
+
# Op.: On stage (3)
|
299
301
|
|
300
|
-
|
301
|
-
|
302
|
+
Magnifier
|
303
|
+
: Ctrl + right click
|
302
304
|
|
303
|
-
|
305
|
+
Change scale by wheel
|
304
306
|
|
305
|
-
|
306
|
-
|
307
|
+
Spotlight
|
308
|
+
: Double right clicks
|
307
309
|
|
308
|
-
|
310
|
+
Change radius by wheel
|
309
311
|
|
310
|
-
|
312
|
+
# Op.: On stage (4)
|
311
313
|
|
312
|
-
|
313
|
-
|
314
|
-
|
314
|
+
Graffiti
|
315
|
+
: Popup menu (right click) →
|
316
|
+
"Graffiti mode"
|
315
317
|
|
316
|
-
|
317
|
-
|
318
|
+
Mouse gesture
|
319
|
+
: Right button drag
|
318
320
|
|
319
|
-
|
321
|
+
# Op.: On stage (5)
|
320
322
|
|
321
|
-
|
322
|
-
|
323
|
+
Whiteout
|
324
|
+
: W
|
323
325
|
|
324
|
-
|
325
|
-
|
326
|
+
Blackout
|
327
|
+
: B
|
326
328
|
|
327
|
-
|
329
|
+
# Op.: Save
|
328
330
|
|
329
|
-
|
330
|
-
|
331
|
+
Screenshot
|
332
|
+
: Save each page as an image
|
331
333
|
|
332
|
-
|
334
|
+
s
|
333
335
|
|
334
|
-
|
335
|
-
|
336
|
+
Print
|
337
|
+
: Print each page as PS/PDF
|
336
338
|
|
337
|
-
|
339
|
+
Ctrl+p
|
338
340
|
|
339
|
-
|
341
|
+
# Op.: Display
|
340
342
|
|
341
|
-
|
342
|
-
|
343
|
+
Redraw
|
344
|
+
: Ctrl+l
|
343
345
|
|
344
|
-
|
345
|
-
|
346
|
+
Reload theme
|
347
|
+
: t, r
|
346
348
|
|
347
|
-
|
348
|
-
|
349
|
+
Reset slide adjustment
|
350
|
+
: Alt+a
|
349
351
|
|
350
|
-
|
352
|
+
# Op.: Hole
|
351
353
|
|
352
|
-
|
353
|
-
|
354
|
+
Expand the hole
|
355
|
+
: E
|
354
356
|
|
355
|
-
|
356
|
-
|
357
|
+
Narrow the hole
|
358
|
+
: N
|
357
359
|
|
358
|
-
|
360
|
+
# Op.: Search
|
359
361
|
|
360
|
-
|
361
|
-
|
362
|
+
Search forward
|
363
|
+
: C-s, /
|
362
364
|
|
363
|
-
|
364
|
-
|
365
|
+
Search backward
|
366
|
+
: C-r, ?
|
365
367
|
|
366
|
-
|
367
|
-
|
368
|
+
Quit search
|
369
|
+
: C-g
|
368
370
|
|
369
|
-
|
371
|
+
# Op.: Quit
|
370
372
|
|
371
|
-
|
372
|
-
|
373
|
+
Quit
|
374
|
+
: q, Escape
|
373
375
|
|
374
|
-
|
375
|
-
|
376
|
+
Iconify
|
377
|
+
: z
|
376
378
|
|
377
|
-
|
379
|
+
# Conclusion
|
378
380
|
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
381
|
+
* A presentation tool
|
382
|
+
* Multi platform
|
383
|
+
* Feat./UI: High & Unique
|
384
|
+
* Emphasize keybord shortcuts
|
385
|
+
* UI/text based source
|
386
|
+
```
|
387
|
+
{% endraw %}
|