rabbit 2.1.8 → 2.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
- data/doc/_config.yml +22 -2
- data/doc/_layouts/en.html +0 -2
- data/doc/_layouts/ja.html +0 -2
- data/doc/en/how-to-make/markdown.md +35 -2
- data/doc/en/index.rd +3 -2
- data/doc/en/install/homebrew.rd +1 -1
- data/doc/en/install/windows.rd +18 -34
- data/doc/en/news.rd +99 -0
- data/doc/images/screenshots/en/blue-circle-raw.png +0 -0
- data/doc/images/screenshots/en/blue-circle.png +0 -0
- data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/en/clear-blue.png +0 -0
- data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/en/cozmixng.png +0 -0
- data/doc/images/screenshots/en/dark-gradation-raw.png +0 -0
- data/doc/images/screenshots/en/dark-gradation.png +0 -0
- data/doc/images/screenshots/en/day-white-raw.png +0 -0
- data/doc/images/screenshots/en/day-white.png +0 -0
- data/doc/images/screenshots/en/debian-raw.png +0 -0
- data/doc/images/screenshots/en/debian.png +0 -0
- data/doc/images/screenshots/en/green-circle-raw.png +0 -0
- data/doc/images/screenshots/en/green-circle.png +0 -0
- data/doc/images/screenshots/en/night-black-raw.png +0 -0
- data/doc/images/screenshots/en/night-black.png +0 -0
- data/doc/images/screenshots/en/rabbit-raw.png +0 -0
- data/doc/images/screenshots/en/rabbit.png +0 -0
- data/doc/images/screenshots/en/ranguba-raw.png +0 -0
- data/doc/images/screenshots/en/ranguba.png +0 -0
- data/doc/images/screenshots/en/red-frame-raw.png +0 -0
- data/doc/images/screenshots/en/red-frame.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2-raw.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/en/rubykaigi2011-raw.png +0 -0
- data/doc/images/screenshots/en/rubykaigi2011.png +0 -0
- data/doc/images/screenshots/ja/blue-circle.png +0 -0
- data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/ja/clear-blue.png +0 -0
- data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/ja/cozmixng.png +0 -0
- data/doc/images/screenshots/ja/dark-gradation.png +0 -0
- data/doc/images/screenshots/ja/day-white.png +0 -0
- data/doc/images/screenshots/ja/debian.png +0 -0
- data/doc/images/screenshots/ja/green-circle-raw.png +0 -0
- data/doc/images/screenshots/ja/green-circle.png +0 -0
- data/doc/images/screenshots/ja/night-black-raw.png +0 -0
- data/doc/images/screenshots/ja/night-black.png +0 -0
- data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
- data/doc/images/screenshots/ja/rabbit.png +0 -0
- data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
- data/doc/images/screenshots/ja/ranguba.png +0 -0
- data/doc/images/screenshots/ja/red-frame-raw.png +0 -0
- data/doc/images/screenshots/ja/red-frame.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2-raw.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/ja/rubykaigi2011-raw.png +0 -0
- data/doc/images/screenshots/ja/rubykaigi2011.png +0 -0
- data/doc/ja/how-to-make/markdown.md +36 -2
- data/doc/ja/index.rd +2 -1
- data/doc/ja/install/homebrew.rd +1 -1
- data/doc/ja/install/windows.rd +22 -38
- data/doc/ja/news.rd +99 -0
- data/entities/ent2rb.rb +30 -22
- data/lib/rabbit/command/rabbit.rb +9 -5
- data/lib/rabbit/parser/ext/entity.rb +3664 -3694
- data/lib/rabbit/parser/markdown.rb +29 -1
- data/lib/rabbit/parser/markdown/converter.rb +12 -0
- data/lib/rabbit/parser/rd/ext/block-verbatim.rb +7 -0
- data/lib/rabbit/renderer/display/drawing-area-base.rb +5 -1
- data/lib/rabbit/renderer/display/key-handler.rb +0 -4
- data/lib/rabbit/renderer/display/search.rb +6 -1
- data/lib/rabbit/theme/applier.rb +8 -2
- data/lib/rabbit/theme/background-image-toolkit/background-image-toolkit.rb +8 -1
- data/lib/rabbit/theme/clear-blue/clear-blue.rb +2 -0
- data/lib/rabbit/theme/default-title-text/default-title-text.rb +5 -0
- data/lib/rabbit/theme/image-viewer/image-viewer.rb +2 -0
- data/lib/rabbit/theme/image/image.rb +13 -11
- data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +14 -2
- data/lib/rabbit/version.rb +1 -1
- data/po/en/rabbit.edit.po +109 -101
- data/po/en/rabbit.po +6 -0
- data/po/fr/rabbit.edit.po +109 -101
- data/po/fr/rabbit.po +6 -0
- data/po/ja/rabbit.edit.po +110 -113
- data/po/ja/rabbit.po +7 -1
- data/sample/rabbit.md +1 -1
- data/test/parser/test-markdown.rb +47 -0
- metadata +60 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7d4c4da1f200c5e29e65dc548e9a4dfe21a127
|
4
|
+
data.tar.gz: 74e3c6893db6afeaee4d260ef2dfd2b330c93c1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cee32005d4a4536cdc07c074d0d2105f588ed4dde786667402fa2ac1135aa7313460a2b0970001ba214994d0a6188d108575270481725bf355995fb0ce34923f
|
7
|
+
data.tar.gz: b179a707b24fee6d6406bd818cf28aaf61e3959580a12404a20b72ef33b396cab0372134dc76ebce757b661a27626cc4c5470ad8134da83a36d3ac1ca17cda9b
|
data/Rakefile
CHANGED
Binary file
|
data/doc/_config.yml
CHANGED
@@ -1,9 +1,29 @@
|
|
1
1
|
markdown: kramdown
|
2
|
-
version: 2.1.
|
3
|
-
release_date:
|
2
|
+
version: 2.1.9
|
3
|
+
release_date: 2016-05-27
|
4
4
|
rabbiter_version: 2.0.1
|
5
5
|
rabbiter_release_date: 2013-08-29
|
6
6
|
rabbirack_version: 2.0.0
|
7
7
|
rabbirack_release_date: 2012-08-29
|
8
8
|
rabwii_version: 2.0.0
|
9
9
|
rabwii_release_date: 2012-08-29
|
10
|
+
|
11
|
+
defaults:
|
12
|
+
- scope:
|
13
|
+
path: "index.html.ja"
|
14
|
+
values:
|
15
|
+
layout: "ja"
|
16
|
+
language: ja
|
17
|
+
country: JP
|
18
|
+
- scope:
|
19
|
+
path: "ja"
|
20
|
+
values:
|
21
|
+
layout: "ja"
|
22
|
+
language: ja
|
23
|
+
country: JP
|
24
|
+
- scope:
|
25
|
+
path: ""
|
26
|
+
values:
|
27
|
+
layout: "en"
|
28
|
+
language: en
|
29
|
+
country: US
|
data/doc/_layouts/en.html
CHANGED
data/doc/_layouts/ja.html
CHANGED
@@ -43,6 +43,39 @@ institution is COZMIXNG.
|
|
43
43
|
At the moment, you can specify subtitle, content_source and
|
44
44
|
even the theme. "theme" is for the default theme of this slide.
|
45
45
|
|
46
|
-
###
|
46
|
+
### Emphasis
|
47
47
|
|
48
|
-
|
48
|
+
You can emphasize strings. Enclose it with an asterisk.
|
49
|
+
|
50
|
+
*Emphasis*
|
51
|
+
|
52
|
+
### Image
|
53
|
+
|
54
|
+
You can describe as normal markdown format.
|
55
|
+
|
56
|
+
![image](lavie.png)
|
57
|
+
|
58
|
+
### Table
|
59
|
+
|
60
|
+
Also you can make table.
|
61
|
+
|
62
|
+
|Head1 |Head2 |Head3 |
|
63
|
+
|:-----------|------------:|:------------:|
|
64
|
+
|Content1 |Content2 |Content3 |
|
65
|
+
|
66
|
+
### Items
|
67
|
+
|
68
|
+
Markdown has several list notation such as \*, \+, \-
|
69
|
+
You can use any of the notation.
|
70
|
+
|
71
|
+
* Level1-1
|
72
|
+
* Level2-1
|
73
|
+
* Level1-2
|
74
|
+
* Level1-3
|
75
|
+
|
76
|
+
### Quotation
|
77
|
+
|
78
|
+
If you put ">" on the head of the line, it will be quoted text.
|
79
|
+
|
80
|
+
> You take the *red pill*, you stay in Wonderland and
|
81
|
+
> I show you how deep the *rabbit-hole* goes.
|
data/doc/en/index.rd
CHANGED
@@ -8,7 +8,7 @@ Rabbit is a presentation tool for programmer, especially Rubyist.
|
|
8
8
|
|
9
9
|
Slide is written in text format, so you can use your favorite editor or versioning tool to make it.
|
10
10
|
|
11
|
-
Rabbit also has programmer-friendly keybord interface.
|
11
|
+
Rabbit also has programmer-friendly keybord interface.
|
12
12
|
You can use Rabbit just as a slide viewer because Rabbit also supports PDF format.
|
13
13
|
It means even after making slide in other tool like Keynote, you can use Rabbit for displaying it.
|
14
14
|
|
@@ -166,7 +166,8 @@ The author of
|
|
166
166
|
data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-white.jpg
|
167
167
|
and
|
168
168
|
data/rabbit/image/rubykaigi2011-images/rubykaigi2011-background-black.jpg
|
169
|
-
is norio. And it's licensed
|
169
|
+
is norio. And it's licensed under the
|
170
|
+
((<CC-BY-3.0|URL:http://creativecommons.org/licenses/by/3.0/>)).
|
170
171
|
|
171
172
|
If you want to get a copy of the mascot character PSD files
|
172
173
|
ask the program author. He'll forward the request to the
|
data/doc/en/install/homebrew.rd
CHANGED
@@ -32,7 +32,7 @@ Then add /usr/local/bin to your PATH.
|
|
32
32
|
|
33
33
|
Exec gem install.
|
34
34
|
|
35
|
-
$ sudo gem install rabbit
|
35
|
+
$ sudo PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig gem install rabbit
|
36
36
|
$ sudo gem install rabbiter # If you want to use Twitter related features
|
37
37
|
|
38
38
|
=== Set environment variable
|
data/doc/en/install/windows.rd
CHANGED
@@ -7,55 +7,39 @@ title: Install on Windows
|
|
7
7
|
This document describes how to install and use Rabbit on
|
8
8
|
Windows.
|
9
9
|
|
10
|
-
|
10
|
+
=== How to install
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
Here are required softwares.
|
12
|
+
Install the following software:
|
15
13
|
|
16
14
|
* Ruby
|
17
15
|
* Rabbit
|
18
16
|
|
19
|
-
====
|
20
|
-
|
21
|
-
Install Ruby 2.0.0 or later from ((<download page of RubyInstall for
|
22
|
-
Windows|URL:http://rubyinstaller.org/downloads/>)). For
|
23
|
-
example, Ruby 2.0.0-p576 installer can be downloaded via the
|
24
|
-
following URL.
|
17
|
+
==== How to install Ruby
|
25
18
|
|
26
|
-
|
27
|
-
|
19
|
+
Download and execute Ruby installer from ((<download page of
|
20
|
+
RubyInstall for
|
21
|
+
Windows|URL:http://rubyinstaller.org/downloads/>)). You can use both
|
22
|
+
32bit version and 64bit version.
|
28
23
|
|
29
|
-
|
30
|
-
Currently Rabbit doesn't work with 64bit Ruby on Windows.
|
24
|
+
==== How to install Rabbit
|
31
25
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
with PATH configuration for ruby.exe. You can install Rabbit
|
37
|
-
by the following command on the command prompt:
|
26
|
+
RubyInstaller install "Start Command Prompt with Ruby" program into
|
27
|
+
start menu. This program shows command prompt with PATH configuration
|
28
|
+
for (({ruby.exe})). You can install Rabbit by the following command on
|
29
|
+
the command prompt:
|
38
30
|
|
39
31
|
> gem install rabbit
|
40
32
|
|
41
33
|
Related softwares (e.g. Ruby/GTK2 and so on) are also
|
42
34
|
install automatically.
|
43
35
|
|
44
|
-
|
45
|
-
|
46
|
-
> rabbit rabbit-theme-benchmark-en.gem
|
47
|
-
|
48
|
-
=== Install optional softwares
|
49
|
-
|
50
|
-
Here are optional softwares:
|
51
|
-
|
52
|
-
* Ghostscript
|
36
|
+
=== How to run Rabbit
|
53
37
|
|
54
|
-
|
38
|
+
Run the following command on command prompt that is used for
|
39
|
+
installing Rabbit:
|
55
40
|
|
56
|
-
|
41
|
+
> rabbit
|
57
42
|
|
58
|
-
|
59
|
-
((<URL:ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs853/gs853w32.exe>))
|
43
|
+
It opens a dialog to open a slide file.
|
60
44
|
|
61
|
-
|
45
|
+
See also ((<How to make a slide source|URL:../how-to-make/>)).
|
data/doc/en/news.rd
CHANGED
@@ -3,6 +3,105 @@ layout: en
|
|
3
3
|
title: News
|
4
4
|
---
|
5
5
|
{% raw %}
|
6
|
+
== 2.1.9: 2016-05-27
|
7
|
+
|
8
|
+
Markdown support improvement release.
|
9
|
+
|
10
|
+
=== Improvements
|
11
|
+
|
12
|
+
==== rabbit
|
13
|
+
|
14
|
+
* Suppressed warnings on Ruby 2.3.
|
15
|
+
[GitHub#77][Patch by takiy33]
|
16
|
+
|
17
|
+
* Markdown markup: Supported strike through markup in GFM (GitHub
|
18
|
+
Flavored Markdown).
|
19
|
+
[Suggested by yoku0825]
|
20
|
+
|
21
|
+
Syntax:
|
22
|
+
|
23
|
+
~~deleted text~~
|
24
|
+
|
25
|
+
* Markdown markup: Supported reporting an error for using HTML
|
26
|
+
because using HTML isn't supported.
|
27
|
+
|
28
|
+
* Supported stopping search by escape key.
|
29
|
+
|
30
|
+
* RD markup: Supported (({pango})) block verbatim.
|
31
|
+
You can text with ((<Pango
|
32
|
+
markup|URL:https://developer.gnome.org/pango/stable/PangoMarkupFormat.html>))
|
33
|
+
in the block.
|
34
|
+
|
35
|
+
Syntax:
|
36
|
+
|
37
|
+
# pango
|
38
|
+
|
39
|
+
<span foreground="red">Red Text</span>
|
40
|
+
|
41
|
+
* Supported filtering Markdown files in file choose dialog.
|
42
|
+
[GitHub#83][Patch by tSU_Root]
|
43
|
+
|
44
|
+
* Markdown markup: Supported reporting an error for using horizontal
|
45
|
+
rule because horizontal rule isn't supported.
|
46
|
+
[GitHub#84][Reported by tSU_RooT]
|
47
|
+
|
48
|
+
* Markdown markup: Supported list in list.
|
49
|
+
[GitHub#85][Reported by tSU_RooT]
|
50
|
+
|
51
|
+
==== Theme
|
52
|
+
|
53
|
+
* default-title-text: Supported customizing author font size by
|
54
|
+
(({@title_slide_font_size})).
|
55
|
+
|
56
|
+
* background-image-toolkit: Supported (({bottom})) vertical align.
|
57
|
+
|
58
|
+
* image-viewer: Supported comment.
|
59
|
+
|
60
|
+
* syntax-highlighting: Supported diff format.
|
61
|
+
|
62
|
+
* syntax-highlighting: Stopped highlighing numbers.
|
63
|
+
|
64
|
+
* clear-blue: Supported frame color in syntax highlight.
|
65
|
+
|
66
|
+
==== Document
|
67
|
+
|
68
|
+
* Added links to licenses.
|
69
|
+
[GitHub#86][Patch by tSU_Root]
|
70
|
+
|
71
|
+
* Updated document about how to write a slide in Markdown.
|
72
|
+
[GitHub#89][Patch by tSU_Root]
|
73
|
+
|
74
|
+
=== Fixes
|
75
|
+
|
76
|
+
==== rabbit
|
77
|
+
|
78
|
+
* Fixed a bug that slide with invalid format crashes Rabbit.
|
79
|
+
[GitHub#76][Reported by takiy33]
|
80
|
+
|
81
|
+
* Fixed a bug that (({--margin})) option value is parsed wrongly.
|
82
|
+
[GitHub#82][Patch by zunda]
|
83
|
+
|
84
|
+
==== Theme
|
85
|
+
|
86
|
+
* image: Fixed a bug that image size reduced with Markdown markup
|
87
|
+
with image-timer theme.
|
88
|
+
[GitHub#78][Reported by TOMITA Masahiro]
|
89
|
+
|
90
|
+
* image: Fixed a bug that image size isn't stable for image with caption.
|
91
|
+
[GitHub#88][Reported by TOMITA Masahiro]
|
92
|
+
|
93
|
+
=== Thanks
|
94
|
+
|
95
|
+
* takiy33
|
96
|
+
|
97
|
+
* yoku0825
|
98
|
+
|
99
|
+
* TOMITA Masahiro
|
100
|
+
|
101
|
+
* zunda
|
102
|
+
|
103
|
+
* tSU_Root
|
104
|
+
|
6
105
|
== 2.1.8: 2015-09-06
|
7
106
|
|
8
107
|
A bug fix release for 2.1.7. 2.1.7 can't start on Windows.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -26,6 +26,8 @@ title: Markdown記法でのスライドの作り方
|
|
26
26
|
|
27
27
|
この例だと二ページになります。
|
28
28
|
|
29
|
+
通常のMarkdownと異なり、改行は無視されません。
|
30
|
+
|
29
31
|
### タイトルページ
|
30
32
|
|
31
33
|
最初のページはタイトルページになります。タイトルページには見
|
@@ -48,6 +50,38 @@ Rabbitを起動するときにテーマが指定されなかった場合に使
|
|
48
50
|
|
49
51
|
TODO: 他にもメタデータが増えているはず。
|
50
52
|
|
51
|
-
###
|
53
|
+
### 強調
|
54
|
+
|
55
|
+
\*を使って文字列を囲むと、強調することができます。
|
56
|
+
|
57
|
+
*強調*
|
58
|
+
|
59
|
+
### 画像
|
60
|
+
|
61
|
+
通常のMarkdownと同様に記述できます。
|
62
|
+
|
63
|
+
![image](lavie.png)
|
64
|
+
|
65
|
+
### 表
|
66
|
+
|
67
|
+
表を組むこともできます。
|
68
|
+
|
69
|
+
|みだし1 |みだし2 |みだし3 |
|
70
|
+
|:-----------|------------:|:------------:|
|
71
|
+
|内容1 |内容2 |内容3 |
|
72
|
+
|
73
|
+
### 箇条書き
|
74
|
+
|
75
|
+
Markdownのリスト記法のうち、\* \+ \- のいずれかを使えます。
|
76
|
+
|
77
|
+
* レベル1-1
|
78
|
+
* レベル2-1
|
79
|
+
* レベル1-2
|
80
|
+
* レベル1-3
|
81
|
+
|
82
|
+
### 引用
|
83
|
+
|
84
|
+
\>を行の先頭に置くと引用文になります。
|
52
85
|
|
53
|
-
|
86
|
+
> You take the *red pill*, you stay in Wonderland and
|
87
|
+
> I show you how deep the *rabbit-hole* goes.
|