slideshow 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/slideshow.rb +1 -1
- data/lib/slideshow/markdown.rb +2 -2
- metadata +3 -3
data/lib/slideshow.rb
CHANGED
data/lib/slideshow/markdown.rb
CHANGED
@@ -21,13 +21,13 @@ module Slideshow
|
|
21
21
|
def pandoc_ruby_to_s5( content )
|
22
22
|
content = PandocRuby.new( content, {:from => :markdown, :to => :s5}, :smart ).convert
|
23
23
|
content = content.gsub(/class="incremental"/,'class="step"')
|
24
|
-
|
24
|
+
content = content.to_a[13..-1].join # remove the layout div
|
25
25
|
end
|
26
26
|
|
27
27
|
def pandoc_ruby_to_s5_incremental( content )
|
28
28
|
content = PandocRuby.new( content, {:from => :markdown, :to => :s5 }, :incremental, :smart ).convert
|
29
29
|
content = content.gsub(/class="incremental"/,'class="step"')
|
30
|
-
|
30
|
+
content = content.to_a[13..-1].join # remove the layout div
|
31
31
|
end
|
32
32
|
|
33
33
|
def rdiscount_to_html( content )
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slideshow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 5
|
10
|
+
version: 0.9.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gerald Bauer
|