slideshow 2.3.0 → 2.4.0

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.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/HISTORY.md +4 -0
  3. data/Manifest.txt +3 -48
  4. data/{README.markdown → README.md} +134 -132
  5. data/Rakefile +26 -17
  6. data/lib/slideshow.rb +19 -97
  7. data/lib/slideshow/cli/main.rb +38 -20
  8. data/lib/slideshow/cli/main_utils.rb +10 -4
  9. data/lib/slideshow/cli/opts.rb +3 -1
  10. data/lib/slideshow/cli/version.rb +26 -0
  11. metadata +63 -147
  12. data/History.markdown +0 -171
  13. data/config/slideshow.builtin.yml +0 -8
  14. data/config/slideshow.index.yml +0 -61
  15. data/config/slideshow.yml +0 -76
  16. data/lib/slideshow/cli/commands/fetch.rb +0 -121
  17. data/lib/slideshow/cli/commands/gen.rb +0 -330
  18. data/lib/slideshow/cli/commands/gen_templates.rb +0 -52
  19. data/lib/slideshow/cli/commands/list.rb +0 -70
  20. data/lib/slideshow/cli/commands/plugins.rb +0 -44
  21. data/lib/slideshow/cli/commands/quick.rb +0 -86
  22. data/lib/slideshow/config.rb +0 -241
  23. data/lib/slideshow/filters/debug_filter.rb +0 -74
  24. data/lib/slideshow/filters/headers_filter.rb +0 -45
  25. data/lib/slideshow/filters/slide_filter.rb +0 -113
  26. data/lib/slideshow/filters/text_filter.rb +0 -140
  27. data/lib/slideshow/headers.rb +0 -87
  28. data/lib/slideshow/helpers/background_helper.rb +0 -121
  29. data/lib/slideshow/helpers/capture_helper.rb +0 -136
  30. data/lib/slideshow/helpers/directive_helper.rb +0 -43
  31. data/lib/slideshow/helpers/markdown_helper.rb +0 -18
  32. data/lib/slideshow/helpers/source_helper.rb +0 -39
  33. data/lib/slideshow/helpers/step_helper.rb +0 -33
  34. data/lib/slideshow/helpers/syntax/coderay_helper.rb +0 -84
  35. data/lib/slideshow/helpers/syntax/sh_helper.rb +0 -61
  36. data/lib/slideshow/helpers/syntax/uv_helper.rb +0 -90
  37. data/lib/slideshow/helpers/text_helper.rb +0 -130
  38. data/lib/slideshow/manifest_helpers.rb +0 -94
  39. data/lib/slideshow/markup/markdown.rb +0 -18
  40. data/lib/slideshow/markup/mediawiki.rb +0 -38
  41. data/lib/slideshow/markup/rest.rb +0 -17
  42. data/lib/slideshow/markup/textile.rb +0 -68
  43. data/lib/slideshow/plugin_helpers.rb +0 -62
  44. data/lib/slideshow/slide.rb +0 -118
  45. data/lib/slideshow/version.rb +0 -3
  46. data/templates/s6.txt +0 -27
  47. data/templates/s6.txt.gen +0 -19
  48. data/templates/s6/jquery.js +0 -8176
  49. data/templates/s6/jquery.microsoft.js +0 -31
  50. data/templates/s6/jquery.slideshow.js +0 -534
  51. data/templates/s6/print.css +0 -1
  52. data/templates/s6/projection.css +0 -109
  53. data/templates/s6/screen.css +0 -50
  54. data/templates/slides.html.erb +0 -55
  55. data/templates/slides.pdf.html.erb +0 -62
  56. data/templates/style.css.erb +0 -91
  57. data/templates/welcome.text +0 -167
  58. data/templates/welcome.txt.quick +0 -6
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 12518151c0ffdc1cfb2513f5de2b07132150cf47
4
+ data.tar.gz: ada4c970840f0487efad601eee92bf12bf90599e
5
+ SHA512:
6
+ metadata.gz: eea131bcb3382fb19abc38206db0f61475bf7dbd4a735fc349ad449a330f3316fe7052e9c3d453b8b3a764ba67577b682b45d289b52e66cd25cdc9ae734b3ae9
7
+ data.tar.gz: 00f63d9a8034a73c8e1ab7c58639afe29976dbc4b1a334319c8168c8ecd6e0df8ff768c238dea3b3d0c49580a92fdd3b822327ef5f48c98f06ba1020abdcc4f8
@@ -0,0 +1,4 @@
1
+
2
+ ### 0.1 / 2014-12-10
3
+
4
+ * Everything is new. First release
@@ -1,55 +1,10 @@
1
- History.markdown
1
+ HISTORY.md
2
2
  Manifest.txt
3
- README.markdown
3
+ README.md
4
4
  Rakefile
5
5
  bin/slideshow
6
- config/slideshow.builtin.yml
7
- config/slideshow.index.yml
8
- config/slideshow.yml
9
6
  lib/slideshow.rb
10
- lib/slideshow/cli/commands/fetch.rb
11
- lib/slideshow/cli/commands/gen.rb
12
- lib/slideshow/cli/commands/gen_templates.rb
13
- lib/slideshow/cli/commands/list.rb
14
- lib/slideshow/cli/commands/plugins.rb
15
- lib/slideshow/cli/commands/quick.rb
16
7
  lib/slideshow/cli/main.rb
17
8
  lib/slideshow/cli/main_utils.rb
18
9
  lib/slideshow/cli/opts.rb
19
- lib/slideshow/config.rb
20
- lib/slideshow/filters/debug_filter.rb
21
- lib/slideshow/filters/headers_filter.rb
22
- lib/slideshow/filters/slide_filter.rb
23
- lib/slideshow/filters/text_filter.rb
24
- lib/slideshow/headers.rb
25
- lib/slideshow/helpers/background_helper.rb
26
- lib/slideshow/helpers/capture_helper.rb
27
- lib/slideshow/helpers/directive_helper.rb
28
- lib/slideshow/helpers/markdown_helper.rb
29
- lib/slideshow/helpers/source_helper.rb
30
- lib/slideshow/helpers/step_helper.rb
31
- lib/slideshow/helpers/syntax/coderay_helper.rb
32
- lib/slideshow/helpers/syntax/sh_helper.rb
33
- lib/slideshow/helpers/syntax/uv_helper.rb
34
- lib/slideshow/helpers/text_helper.rb
35
- lib/slideshow/manifest_helpers.rb
36
- lib/slideshow/markup/markdown.rb
37
- lib/slideshow/markup/mediawiki.rb
38
- lib/slideshow/markup/rest.rb
39
- lib/slideshow/markup/textile.rb
40
- lib/slideshow/plugin_helpers.rb
41
- lib/slideshow/slide.rb
42
- lib/slideshow/version.rb
43
- templates/s6.txt
44
- templates/s6.txt.gen
45
- templates/s6/jquery.js
46
- templates/s6/jquery.microsoft.js
47
- templates/s6/jquery.slideshow.js
48
- templates/s6/print.css
49
- templates/s6/projection.css
50
- templates/s6/screen.css
51
- templates/slides.html.erb
52
- templates/slides.pdf.html.erb
53
- templates/style.css.erb
54
- templates/welcome.text
55
- templates/welcome.txt.quick
10
+ lib/slideshow/cli/version.rb
@@ -1,132 +1,134 @@
1
- # Slide Show (S9) - A Free Web Alternative to PowerPoint and Keynote in Ruby
2
-
3
- * docu :: [slideshow-s9.github.io](http://slideshow-s9.github.io)
4
- * source :: [github.com/geraldb/slideshow](https://github.com/geraldb/slideshow)
5
- * bugs :: [github.com/geraldb/slideshow/issues](https://github.com/geraldb/slideshow/issues)
6
- * gem :: [rubygems.org/gems/slideshow](https://rubygems.org/gems/slideshow)
7
- * rdoc :: [rubydoc.info/gems/slideshow](http://rubydoc.info/gems/slideshow)
8
-
9
-
10
- ## DESCRIPTION
11
-
12
- The Slide Show (S9) Ruby gem lets you create slide shows and author slides in plain text
13
- using a wiki-style markup language that's easy-to-write and easy-to-read.
14
- The Slide Show (S9) project also collects and welcomes themes and ships
15
- "out-of-the-gem" with built-in support for "loss-free" gradient vector graphics themes.
16
-
17
- ~~~
18
- SYNOPSIS
19
- slideshow [global options] command [command options] [arguments...]
20
-
21
- VERSION
22
- 2.0.0
23
-
24
- GLOBAL OPTIONS
25
- -c, --config=PATH - Configuration Path (default: ~/.slideshow)
26
- --verbose - (Debug) Show debug messages
27
- --version - Show version
28
-
29
- COMMANDS
30
- build, b - Build slideshow
31
- install, i - Install template pack
32
- list, ls, l - List installed template packs
33
- new, n - Generate quick starter sample
34
- about, a - (Debug) Show more version info
35
- help - Shows a list of commands or help for one command
36
- ~~~
37
-
38
-
39
- ### `build` Command
40
-
41
- ~~~
42
- NAME
43
- build - Build slideshow
44
-
45
- SYNOPSIS
46
- slideshow [global options] build [command options] FILE
47
-
48
- COMMAND OPTIONS
49
- --h1 - Set Header Level to 1 (default)
50
- --h2 - Set Header Level to 2
51
- --takahashi - Allow // for slide breaks
52
- --slide - Use only !SLIDE for slide breaks (Showoff Compatible)
53
- -o, --output=PATH - Output Path (default: .)
54
- -t, --template=MANIFEST - Template Manifest (default: s6)
55
-
56
- EXAMPLES
57
- slideshow build microformats
58
- slideshow build microformats.text # Process slides using Markdown
59
- slideshow build microformats.textile # Process slides using Textile
60
- slideshow build microformats.rst # Process slides using reStructuredText
61
- slideshow build microformats -o slides # Output slideshow to slides folder
62
- slideshow build microformats -t s5blank # Use your own slide show templates (e.g. s5blank)
63
- ~~~
64
-
65
-
66
- ### `list` Command
67
-
68
- ~~~
69
- NAME
70
- list - List installed template packs
71
-
72
- SYNOPSIS
73
- slideshow [global options] list [command options]
74
-
75
- EXAMPLES
76
- slideshow list
77
- slideshow ls
78
- ~~~
79
-
80
-
81
- ### `install` Command
82
-
83
- ~~~
84
- NAME
85
- install - Install template pack
86
-
87
- SYNOPSIS
88
- slideshow [global options] install [command options] MANIFEST
89
-
90
- COMMAND OPTIONS
91
- -a, --all - Template Packs (s5blank, s5themes, slidy, g5, csss, deck.js, impress.js)
92
-
93
- EXAMPLES
94
- slideshow install impress.js
95
- slideshow install https://raw.github.com/.../impress.js.txt
96
- ~~~
97
-
98
-
99
- ### `new` Command
100
-
101
- ~~~
102
- NAME
103
- new - Generate quick starter sample
104
-
105
- SYNOPSIS
106
- slideshow [global options] new [command options]
107
-
108
- COMMAND OPTIONS
109
- -o, --output=PATH - Output Path (default: .)
110
- -t, --template=MANIFEST - Template Manifest (default: welcome)
111
-
112
- EXAMPLES
113
- slideshow new
114
- slideshow new -t impress.js
115
- ~~~
116
-
117
-
118
- ## INSTALL
119
-
120
- Just install the gem:
121
-
122
- $ gem install slideshow
123
-
124
- ## QUESTION? COMMENTS?
125
-
126
- Send them along to the [Free Web Slide Show Alternatives (S5, S6, S9, Slidy And Friends) Forum/Mailing List](http://groups.google.com/group/webslideshow).
127
- Thanks!
128
-
129
- ## LICENSE
130
-
131
- The `slideshow` scripts and templates are dedicated to the public domain.
132
- Use it as you please with no restrictions whatsoever.
1
+ # slideshow gem - slide show (S9) command line tool - a free web alternative to PowerPoint and Keynote in ruby
2
+
3
+ * docu :: [slideshow-s9.github.io](http://slideshow-s9.github.io)
4
+ * source :: [github.com/slideshow-s9/slideshow](https://github.com/slideshow-s9/slideshow)
5
+ * bugs :: [github.com/slideshow-s9/slideshow/issues](https://github.com/slideshow-s9/slideshow/issues)
6
+ * gem :: [rubygems.org/gems/slideshow](https://rubygems.org/gems/slideshow)
7
+ * rdoc :: [rubydoc.info/gems/slideshow](http://rubydoc.info/gems/slideshow)
8
+ * templates :: [github.com/slideshow-templates](https://github.com/slideshow-templates)
9
+ * forum :: [groups.google.com/group/webslideshow](http://groups.google.com/group/webslideshow)
10
+
11
+
12
+ ## DESCRIPTION
13
+
14
+ The Slide Show (S9) Ruby gem lets you create slide shows and author slides in plain text
15
+ using a wiki-style markup language that's easy-to-write and easy-to-read.
16
+ The Slide Show (S9) project also collects and welcomes themes and ships
17
+ "out-of-the-gem" with built-in support for "loss-free" gradient vector graphics themes.
18
+
19
+ ~~~
20
+ SYNOPSIS
21
+ slideshow [global options] command [command options] [arguments...]
22
+
23
+ VERSION
24
+ 2.0.0
25
+
26
+ GLOBAL OPTIONS
27
+ -c, --config=PATH - Configuration Path (default: ~/.slideshow)
28
+ --verbose - (Debug) Show debug messages
29
+ --version - Show version
30
+
31
+ COMMANDS
32
+ build, b - Build slideshow
33
+ install, i - Install template pack
34
+ list, ls, l - List installed template packs
35
+ new, n - Generate quick starter sample
36
+ about, a - (Debug) Show more version info
37
+ help - Shows a list of commands or help for one command
38
+ ~~~
39
+
40
+
41
+ ### `build` Command
42
+
43
+ ~~~
44
+ NAME
45
+ build - Build slideshow
46
+
47
+ SYNOPSIS
48
+ slideshow [global options] build [command options] FILE
49
+
50
+ COMMAND OPTIONS
51
+ --h1 - Set Header Level to 1 (default)
52
+ --h2 - Set Header Level to 2
53
+ --takahashi - Allow // for slide breaks
54
+ --slide - Use only !SLIDE for slide breaks (Showoff Compatible)
55
+ -o, --output=PATH - Output Path (default: .)
56
+ -t, --template=MANIFEST - Template Manifest (default: s6)
57
+
58
+ EXAMPLES
59
+ slideshow build microformats
60
+ slideshow build microformats.text # Process slides using Markdown
61
+ slideshow build microformats.textile # Process slides using Textile
62
+ slideshow build microformats.rst # Process slides using reStructuredText
63
+ slideshow build microformats -o slides # Output slideshow to slides folder
64
+ slideshow build microformats -t s5blank # Use your own slide show templates (e.g. s5blank)
65
+ ~~~
66
+
67
+
68
+ ### `list` Command
69
+
70
+ ~~~
71
+ NAME
72
+ list - List installed template packs
73
+
74
+ SYNOPSIS
75
+ slideshow [global options] list [command options]
76
+
77
+ EXAMPLES
78
+ slideshow list
79
+ slideshow ls
80
+ ~~~
81
+
82
+
83
+ ### `install` Command
84
+
85
+ ~~~
86
+ NAME
87
+ install - Install template pack
88
+
89
+ SYNOPSIS
90
+ slideshow [global options] install [command options] MANIFEST
91
+
92
+ COMMAND OPTIONS
93
+ -a, --all - Template Packs (s5blank, s5themes, slidy, g5, csss, deck.js, impress.js)
94
+
95
+ EXAMPLES
96
+ slideshow install impress.js
97
+ slideshow install https://raw.github.com/.../impress.js.txt
98
+ ~~~
99
+
100
+
101
+ ### `new` Command
102
+
103
+ ~~~
104
+ NAME
105
+ new - Generate quick starter sample
106
+
107
+ SYNOPSIS
108
+ slideshow [global options] new [command options]
109
+
110
+ COMMAND OPTIONS
111
+ -o, --output=PATH - Output Path (default: .)
112
+ -t, --template=MANIFEST - Template Manifest (default: welcome)
113
+
114
+ EXAMPLES
115
+ slideshow new
116
+ slideshow new -t impress.js
117
+ ~~~
118
+
119
+
120
+ ## INSTALL
121
+
122
+ Just install the gem:
123
+
124
+ $ gem install slideshow
125
+
126
+ ## LICENSE
127
+
128
+ The `slideshow` scripts and templates are dedicated to the public domain.
129
+ Use it as you please with no restrictions whatsoever.
130
+
131
+ ## QUESTION? COMMENTS?
132
+
133
+ Send them along to the [Free Web Slide Show Alternatives (S5, S6, S9, Slidy And Friends) Forum/Mailing List](http://groups.google.com/group/webslideshow).
134
+ Thanks!
data/Rakefile CHANGED
@@ -1,32 +1,37 @@
1
1
  require 'hoe'
2
- require './lib/slideshow/version.rb'
2
+ require './lib/slideshow/cli/version.rb'
3
3
 
4
4
  Hoe.spec 'slideshow' do
5
5
 
6
- self.version = Slideshow::VERSION
6
+ self.version = SlideshowCli::VERSION
7
7
 
8
8
  self.summary = 'Slide Show (S9) - A Free Web Alternative to PowerPoint and Keynote in Ruby'
9
- self.urls = ['http://slideshow-s9.github.io']
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/slideshow-s9/slideshow']
10
12
 
11
13
  self.author = 'Gerald Bauer'
12
14
  self.email = 'webslideshow@googlegroups.com'
13
15
 
14
16
  self.extra_deps = [
15
- ['props','>= 1.0.0'],
16
- ['markdown','>= 1.0.0'],
17
- ['textutils','>= 0.2.0'],
18
- ['pakman','>= 0.4.0'],
19
- ['activesupport', '>= 3.2.6'],
20
- ['logutils','>= 0.6.0'],
17
+ ['slideshow-models', '>= 2.4.0'], ## Note: pull in all deps via slideshow-models (e.g. props, textutils, etc.)
18
+ ['slideshow-templates','>= 2.4.1'],
21
19
  ['gli', '>= 2.5.6']
22
20
  ## ['wikicloth', '>= 0.8.0'] make it a soft dependency # mediawiki markup engine
23
21
  ## ['RedCloth','>= 4.2.9'] make it a soft dependency # textile markup engine
24
22
  ]
25
23
 
26
24
  # switch extension to .markdown for gihub formatting
27
- self.readme_file = 'README.markdown'
28
- self.history_file = 'History.markdown'
29
-
25
+ self.readme_file = 'README.md'
26
+ self.history_file = 'HISTORY.md'
27
+
28
+ self.licenses = ['Public Domain']
29
+
30
+ self.spec_extras = {
31
+ required_ruby_version: '>= 1.9.2'
32
+ }
33
+
34
+
30
35
  self.post_install_message =<<EOS
31
36
  ******************************************************************************
32
37
 
@@ -34,22 +39,26 @@ Tip: Try some new template packs. Example:
34
39
 
35
40
  $ slideshow install impress.js
36
41
 
37
- or
42
+ or
38
43
 
39
44
  $ slideshow install deck.js
40
45
 
41
- and use like
46
+ and use like
42
47
 
43
48
  $ slideshow build welcome.text -t impress.js
44
49
 
45
- or
50
+ or
46
51
 
47
52
  $ slideshow build welcome.text -t deck.js
48
-
53
+
54
+ or add some extra (plugins) helpers (left, right, etc). Example:
55
+
56
+ $ slideshow install plugins
49
57
 
50
58
  Questions? Comments? Send them along to the mailing list.
51
59
  https://groups.google.com/group/webslideshow
52
60
 
53
61
  ******************************************************************************
54
62
  EOS
55
- end
63
+
64
+ end
@@ -1,97 +1,37 @@
1
1
  # encoding: utf-8
2
2
 
3
- ###
4
- # NB: for local testing run like:
5
- #
6
- # 1.9.x: ruby -Ilib lib/slideshow.rb
7
-
3
+ $RUBYLIBS_DEBUG = true
8
4
 
9
- # core and stlibs
10
- require 'optparse'
11
- require 'erb'
12
- require 'logger' # todo: remove!! replaced by logutils gem
13
- require 'fileutils'
14
- require 'pp'
15
- require 'uri'
16
- require 'net/http'
17
- require 'net/https'
18
- require 'ostruct'
19
- require 'date'
20
- require 'yaml'
21
- require 'cgi'
22
5
 
23
- # required gems
24
- require 'active_support/all'
6
+ require 'slideshow/models'
25
7
 
26
- require 'logutils' # logger utils library
8
+ require 'slideshow/templates' ## for now add builtin templates (remove later? why? why not?)
27
9
 
28
- require 'markdown' # default markdown library
29
- require 'fetcher' # fetch docs and blogs via http, https, etc.
10
+ ## todo/fix: check slideshow-models - remove Env.slideshowopt here or in models?
11
+ #
12
+ #class Env
13
+ # def self.slideshowopt
14
+ # ENV[ 'SLIDESHOWOPT' ]
15
+ # end
16
+ #end # class Env
30
17
 
31
- require 'props' # manage settings/env
32
18
 
33
- class Env
34
- def self.slideshowopt
35
- ENV[ 'SLIDESHOWOPT' ]
36
- end
37
- end # class Env
19
+ ## more 3rd party gems
38
20
 
39
- require 'textutils' # text filters and helpers
40
- require 'pakman' # template pack manager
21
+ require 'gli'
41
22
 
42
23
 
43
24
  # our own code
44
- require 'slideshow/version'
45
- require 'slideshow/headers'
46
- require 'slideshow/config'
47
- require 'slideshow/manifest_helpers'
48
- require 'slideshow/plugin_helpers'
49
- require 'slideshow/slide'
50
-
25
+ require 'slideshow/cli/version' # note: let version always go first
51
26
  require 'slideshow/cli/opts'
52
- require 'slideshow/cli/commands/fetch'
53
- require 'slideshow/cli/commands/gen'
54
- require 'slideshow/cli/commands/gen_templates'
55
- require 'slideshow/cli/commands/list'
56
- require 'slideshow/cli/commands/plugins'
57
- require 'slideshow/cli/commands/quick'
58
-
59
-
60
- require 'slideshow/markup/markdown'
61
- require 'slideshow/markup/mediawiki'
62
- require 'slideshow/markup/textile'
63
-
27
+ require 'slideshow/cli/main_utils'
28
+ require 'slideshow/cli/main'
64
29
 
65
- # load built-in (required) helpers/plugins
66
- require 'slideshow/helpers/text_helper'
67
- require 'slideshow/helpers/capture_helper'
68
- require 'slideshow/helpers/step_helper'
69
- require 'slideshow/helpers/background_helper'
70
- require 'slideshow/helpers/source_helper'
71
- require 'slideshow/helpers/directive_helper'
72
- require 'slideshow/helpers/markdown_helper'
73
-
74
- require 'slideshow/helpers/syntax/sh_helper'
75
-
76
- # load built-in filters
77
- require 'slideshow/filters/headers_filter'
78
- require 'slideshow/filters/text_filter'
79
- require 'slideshow/filters/debug_filter'
80
- require 'slideshow/filters/slide_filter'
81
30
 
82
31
 
83
32
  module Slideshow
84
33
 
85
- def self.root
86
- "#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
87
- end
88
-
89
- # version string for generator meta tag (includes ruby version)
90
- def self.generator
91
- "Slide Show (S9) #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
92
- end
93
-
94
-
34
+ =begin
95
35
  def self.main_old
96
36
 
97
37
  # allow env variable to set RUBYOPT-style default command line options
@@ -104,32 +44,14 @@ module Slideshow
104
44
 
105
45
  Runner.new.run(args)
106
46
  end
47
+ =end
107
48
 
108
49
  def self.main
109
- require 'slideshow/cli/main'
110
- ## Runner.new.run(ARGV) - old code
50
+ exit Tool.new.run(ARGV)
111
51
  end
112
52
 
113
53
 
114
54
  end # module Slideshow
115
55
 
116
- # load built-in (optional) helpers/plugins/engines
117
- # If a helper fails to load, simply ingnore it
118
- # If you want to use it install missing required gems e.g.:
119
- # gem install coderay
120
- # gem install ultraviolet etc.
121
- BUILTIN_OPT_HELPERS = [
122
- 'slideshow/helpers/syntax/uv_helper.rb',
123
- 'slideshow/helpers/syntax/coderay_helper.rb',
124
- 'slideshow/markup/rest.rb',
125
- ]
126
-
127
- BUILTIN_OPT_HELPERS.each do |helper|
128
- begin
129
- require(helper)
130
- rescue Exception => e
131
- ;
132
- end
133
- end
134
56
 
135
- Slideshow.main if __FILE__ == $0
57
+ Slideshow.main if __FILE__ == $0