slideshow 1.2.0.beta1 → 1.2.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
File without changes
data/Manifest.txt CHANGED
@@ -1,6 +1,6 @@
1
- History.rdoc
1
+ History.markdown
2
2
  Manifest.txt
3
- README.rdoc
3
+ README.markdown
4
4
  Rakefile
5
5
  bin/slideshow
6
6
  config/slideshow.builtin.yml
@@ -10,6 +10,8 @@ lib/slideshow/cli/commands/fetch.rb
10
10
  lib/slideshow/cli/commands/gen.rb
11
11
  lib/slideshow/cli/commands/gen_templates.rb
12
12
  lib/slideshow/cli/commands/list.rb
13
+ lib/slideshow/cli/commands/plugins.rb
14
+ lib/slideshow/cli/commands/quick.rb
13
15
  lib/slideshow/cli/opts.rb
14
16
  lib/slideshow/cli/runner.rb
15
17
  lib/slideshow/config.rb
@@ -34,6 +36,7 @@ lib/slideshow/manifest_helpers.rb
34
36
  lib/slideshow/markup/markdown.rb
35
37
  lib/slideshow/markup/rest.rb
36
38
  lib/slideshow/markup/textile.rb
39
+ lib/slideshow/plugin_helpers.rb
37
40
  lib/slideshow/slide.rb
38
41
  lib/slideshow/version.rb
39
42
  templates/s6.txt
@@ -47,3 +50,5 @@ templates/s6/screen.css
47
50
  templates/slides.html.erb
48
51
  templates/slides.pdf.html.erb
49
52
  templates/style.css.erb
53
+ templates/welcome.text
54
+ templates/welcome.txt.quick
data/README.markdown ADDED
@@ -0,0 +1,60 @@
1
+ # Slide Show (S9) - A Free Web Alternative to PowerPoint and KeyNote in Ruby
2
+
3
+ * [`slideshow.rubyforge.org`](http://slideshow.rubyforge.org)
4
+
5
+ ## DESCRIPTION
6
+
7
+ The Slide Show (S9) Ruby gem lets you create slide shows and author slides in plain text
8
+ using a wiki-style markup language that's easy-to-write and easy-to-read.
9
+ The Slide Show (S9) project also collects and welcomes themes and ships
10
+ "out-of-the-gem" with built-in support for "loss-free" gradient vector graphics themes.
11
+
12
+ ## SYNOPSIS
13
+
14
+ Slide Show (S9) is a free web alternative to PowerPoint or KeyNote in Ruby
15
+
16
+ Usage: slideshow [options] name
17
+ -o, --output PATH Output Path (default is .)
18
+ -t, --template MANIFEST Template Manifest (default is s6.txt)
19
+ --h1 Set Header Level to 1 (default)
20
+ --h2 Set Header Level to 2
21
+ -f, --fetch URI Fetch Templates
22
+ -l, --list List Installed Templates
23
+ -c, --config PATH Configuration Path (default is ~/.slideshow)
24
+ -g, --generate Generate Slide Show Templates (using built-in S6 Pack)
25
+ -q, --quick Generate Quickstart Slide Show Sample
26
+ -v, --version Show version
27
+ --verbose Show debug trace
28
+ -h, --help Show this message
29
+
30
+ Examples:
31
+ slideshow microformats
32
+ slideshow microformats.text # Process slides using Markdown
33
+ slideshow microformats.textile # Process slides using Textile
34
+ slideshow microformats.rst # Process slides using reStructuredText
35
+ slideshow -o slides microformats # Output slideshow to slides folder
36
+
37
+ More examles:
38
+ slideshow -q # Generate quickstart slide show sample
39
+ slideshow -g # Generate slide show templates using built-in S6 pack
40
+
41
+ slideshow -l # List installed slide show templates
42
+ slideshow -f s5blank # Fetch (install) S5 blank starter template from internet
43
+ slideshow -t s5blank microformats # Use your own slide show templates (e.g. s5blank)
44
+
45
+
46
+ ## INSTALL
47
+
48
+ Just install the gem:
49
+
50
+ $ gem install slideshow
51
+
52
+ ## QUESTION? COMMENTS?
53
+
54
+ 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).
55
+ Thanks!
56
+
57
+ ## LICENSE
58
+
59
+ The `slideshow` scripts and templates are dedicated to the public domain.
60
+ Use it as you please with no restrictions whatsoever.
data/Rakefile CHANGED
@@ -20,9 +20,9 @@ Hoe.spec 'slideshow' do
20
20
  ['pakman','>= 0.1.0']
21
21
  ]
22
22
 
23
- # switch extension to .rdoc for gihub formatting
24
- self.readme_file = 'README.rdoc'
25
- self.history_file = 'History.rdoc'
23
+ # switch extension to .markdown for gihub formatting
24
+ self.readme_file = 'README.markdown'
25
+ self.history_file = 'History.markdown'
26
26
 
27
27
  self.post_install_message =<<EOS
28
28
  ******************************************************************************
@@ -30,6 +30,8 @@ class GenTemplates
30
30
 
31
31
  manifestsrc = matches[0][1]
32
32
  pakpath = opts.output_path
33
+
34
+ logger.debug( "manifestsrc=>#{manifestsrc}<, pakpath=>#{pakpath}<" )
33
35
 
34
36
  Pakman::Copier.new( logger ).copy_pak( manifestsrc, pakpath )
35
37
  end
@@ -39,14 +41,11 @@ private
39
41
  def installed_generator_manifests
40
42
  # 1) search gem/templates
41
43
 
42
- builtin_patterns = [
44
+ patterns = [
43
45
  "#{Slideshow.root}/templates/*.txt.gen"
44
46
  ]
45
47
 
46
- ## note: code moved to its own gem, that is, pakman
47
- ## see https://github.com/geraldb/pakman
48
-
49
- Pakman::Finder.new( logger ).find_manifests( builtin_patterns )
48
+ Pakman::Finder.new( logger ).find_manifests( patterns )
50
49
  end
51
50
 
52
51
  end # class GenTemplates
@@ -0,0 +1,37 @@
1
+ module Slideshow
2
+
3
+ class Plugins
4
+
5
+ include PluginHelper
6
+
7
+ ### fix: remove opts, use config (wrapped!!)
8
+
9
+ def initialize( logger, opts, config )
10
+ @logger = logger
11
+ @opts = opts
12
+ @config = config
13
+ end
14
+
15
+ attr_reader :logger, :opts, :config
16
+
17
+ def run
18
+ puts ''
19
+ puts 'Plugin scripts on the load path'
20
+
21
+ find_plugin_patterns.each_with_index do |pattern,i|
22
+ puts " [#{i+1}] #{pattern}"
23
+ end
24
+ puts ' include:'
25
+
26
+ plugins = find_plugins
27
+ if plugins.empty?
28
+ puts " -- none --"
29
+ else
30
+ plugins.each do |plugin|
31
+ puts " #{plugin}"
32
+ end
33
+ end
34
+ end
35
+
36
+ end # class Plugins
37
+ end # module Slideshow
@@ -0,0 +1,48 @@
1
+ module Slideshow
2
+
3
+ class Quick
4
+
5
+ ### fix: remove opts, use config (wrapped!!)
6
+
7
+ def initialize( logger, opts, config )
8
+ @logger = logger
9
+ @opts = opts
10
+ @config = config
11
+ end
12
+
13
+ attr_reader :logger, :opts, :config
14
+
15
+ def run
16
+ manifest_name = 'welcome.txt.quick'
17
+
18
+ manifests = installed_quick_manifests
19
+ matches = manifests.select { |m| m[0] == manifest_name }
20
+
21
+ if matches.empty?
22
+ puts "*** error: unknown quick template manifest '#{manifest_name}'"
23
+ # todo: list installed manifests
24
+ exit 2
25
+ end
26
+
27
+ manifestsrc = matches[0][1]
28
+ pakpath = opts.output_path
29
+
30
+ logger.debug( "manifestsrc=>#{manifestsrc}<, pakpath=>#{pakpath}<" )
31
+
32
+ Pakman::Copier.new( logger ).copy_pak( manifestsrc, pakpath )
33
+ end
34
+
35
+ private
36
+
37
+ def installed_quick_manifests
38
+ # 1) search gem/templates
39
+
40
+ patterns = [
41
+ "#{Slideshow.root}/templates/*.txt.quick"
42
+ ]
43
+
44
+ Pakman::Finder.new( logger ).find_manifests( patterns )
45
+ end
46
+
47
+ end # class GenTemplates
48
+ end # module Slideshow
@@ -12,8 +12,28 @@ class Opts
12
12
  @header_level || 1
13
13
  end
14
14
 
15
- def generate=(value)
16
- @generate = value
15
+ def quick=(boolean)
16
+ @quick = boolean
17
+ end
18
+
19
+ def quick?
20
+ return false if @quick.nil? # default generate flag is false
21
+ @quick == true
22
+ end
23
+
24
+
25
+ def plugins=(boolean)
26
+ @plugins = boolean
27
+ end
28
+
29
+ def plugins?
30
+ return false if @plugins.nil? # default generate flag is false
31
+ @plugins == true
32
+ end
33
+
34
+
35
+ def generate=(boolean)
36
+ @generate = boolean
17
37
  end
18
38
 
19
39
  def generate?
@@ -21,8 +41,8 @@ class Opts
21
41
  @generate == true
22
42
  end
23
43
 
24
- def list=(value)
25
- @list = value
44
+ def list=(boolean)
45
+ @list = boolean
26
46
  end
27
47
 
28
48
  def list?
@@ -2,6 +2,8 @@ module Slideshow
2
2
 
3
3
  class Runner
4
4
 
5
+ include PluginHelper
6
+
5
7
  def initialize
6
8
  @logger = Logger.new(STDOUT)
7
9
  @logger.level = Logger::INFO
@@ -14,25 +16,6 @@ class Runner
14
16
  attr_reader :logger, :opts, :config, :headers
15
17
 
16
18
 
17
- def load_plugins
18
- patterns = []
19
- patterns << "#{config.config_dir}/lib/**/*.rb"
20
- patterns << 'lib/**/*.rb' unless Slideshow.root == File.expand_path( '.' ) # don't include lib if we are in repo (don't include slideshow/lib)
21
-
22
- patterns.each do |pattern|
23
- pattern.gsub!( '\\', '/') # normalize path; make sure all path use / only
24
- Dir.glob( pattern ) do |plugin|
25
- begin
26
- puts "Loading plugins in '#{plugin}'..."
27
- require( plugin )
28
- rescue Exception => e
29
- puts "** error: failed loading plugins in '#{plugin}': #{e}"
30
- end
31
- end
32
- end
33
- end # method load_plugins
34
-
35
-
36
19
  def find_file_with_known_extension( fn )
37
20
  dirname = File.dirname( fn )
38
21
  basename = File.basename( fn, '.*' )
@@ -115,8 +98,9 @@ def run( args )
115
98
  cmd.on( '-g', '--generate', 'Generate Slide Show Templates (using built-in S6 Pack)' ) { opts.generate = true }
116
99
 
117
100
  ## fix:/todo: add generator for quickstart
118
- cmd.on( '-q', '--quick', 'Generate Quickstart Slide Show Sample') { }
119
-
101
+ cmd.on( '-q', '--quick', 'Generate Quickstart Slide Show Sample') { opts.quick = true }
102
+
103
+ cmd.on( '-p', '--plugins', '(Debug) List Plugin Scripts in Load Path' ) { opts.plugins = true }
120
104
 
121
105
  cmd.on( '-v', '--version', "Show version" ) do
122
106
  puts Slideshow.generator
@@ -165,8 +149,12 @@ EOS
165
149
 
166
150
  if opts.list?
167
151
  List.new( logger, opts, config ).run ### todo: remove opts (merge access into config)
152
+ elsif opts.plugins?
153
+ Plugins.new( logger, opts, config ).run ### todo: remove opts (merge access into config)
168
154
  elsif opts.generate?
169
155
  GenTemplates.new( logger, opts, config ).run ### todo: remove opts
156
+ elsif opts.quick?
157
+ Quick.new( logger, opts, config ).run ### todo: remove opts
170
158
  elsif opts.fetch?
171
159
  Fetch.new( logger, opts, config ).run ### todo: remove opts
172
160
  else
@@ -0,0 +1,43 @@
1
+ module Slideshow
2
+
3
+ module PluginHelper
4
+
5
+ def find_plugin_patterns
6
+ patterns = []
7
+ patterns << "#{config.config_dir}/lib/**/*.rb"
8
+ patterns << 'lib/**/*.rb' unless Slideshow.root == File.expand_path( '.' ) # don't include lib if we are in repo (don't include slideshow/lib)
9
+ patterns
10
+ end
11
+
12
+ def find_plugins
13
+ patterns = find_plugin_patterns
14
+
15
+ plugins=[]
16
+ patterns.each do |pattern|
17
+ pattern.gsub!( '\\', '/') # normalize path; make sure all path use / only
18
+ Dir.glob( pattern ) do |plugin|
19
+ plugins << plugin
20
+ end
21
+ end
22
+ plugins
23
+ end
24
+
25
+ def load_plugins
26
+ patterns = find_plugin_patterns
27
+
28
+ patterns.each do |pattern|
29
+ pattern.gsub!( '\\', '/') # normalize path; make sure all path use / only
30
+ Dir.glob( pattern ) do |plugin|
31
+ begin
32
+ puts "Loading plugins in '#{plugin}'..."
33
+ require( plugin )
34
+ rescue Exception => e
35
+ puts "** error: failed loading plugins in '#{plugin}': #{e}"
36
+ end
37
+ end
38
+ end
39
+ end # method load_plugins
40
+
41
+
42
+ end # module PluginHelper
43
+ end # module Slideshow
@@ -1,3 +1,3 @@
1
1
  module Slideshow
2
- VERSION = '1.2.0.beta1'
2
+ VERSION = '1.2.0.beta2'
3
3
  end
data/lib/slideshow.rb CHANGED
@@ -43,6 +43,7 @@ require 'slideshow/version'
43
43
  require 'slideshow/headers'
44
44
  require 'slideshow/config'
45
45
  require 'slideshow/manifest_helpers'
46
+ require 'slideshow/plugin_helpers'
46
47
  require 'slideshow/slide'
47
48
 
48
49
  require 'slideshow/cli/opts'
@@ -51,6 +52,9 @@ require 'slideshow/cli/commands/fetch'
51
52
  require 'slideshow/cli/commands/gen'
52
53
  require 'slideshow/cli/commands/gen_templates'
53
54
  require 'slideshow/cli/commands/list'
55
+ require 'slideshow/cli/commands/plugins'
56
+ require 'slideshow/cli/commands/quick'
57
+
54
58
 
55
59
  require 'slideshow/markup/textile'
56
60
  require 'slideshow/markup/markdown'
@@ -0,0 +1,167 @@
1
+ %%%%%%%%%%%%%%%%%%
2
+ %% Some Headers
3
+
4
+ Title: Slide Show (S9) 10-Minute Tutorial
5
+
6
+
7
+ %%%%%%%%%%%%%%
8
+ %% Let's go.
9
+
10
+ Slide Show (S9) 10-Minute Tutorial
11
+ ==================================
12
+
13
+ Agenda
14
+
15
+ * What's Slide Show (S9)?
16
+ * Wiki-Style Markup Language - Markdown, Textile
17
+ * How it works - Just press F11!
18
+ * What's S5? What's S6?
19
+ * Gradient Themes Using "Loss-Free" Vector Graphics in S9
20
+ * Turn Your Online Wiki Pages into Slide Shows - Sputnik Case Study
21
+
22
+
23
+ What's Slide Show (S9)?
24
+ =======================
25
+
26
+ ### What?
27
+
28
+ A Free Web Alternative to PowerPoint and KeyNote in Ruby
29
+
30
+
31
+ ### Getting Started in 1-2-3 Easy Steps
32
+
33
+ * Step 1: Author your slides in plain text using a wiki-style markup language
34
+ * Step 2: Generate your slide show using the `slideshow` gem
35
+ * Step 3: Open up your slide show in your browser and hit the space bar to flip through your slides
36
+ * That's it. Showtime!
37
+
38
+
39
+ Wiki-Style Markup Language - Markdown
40
+ =====================================
41
+
42
+ Lets you create slide shows and author slides in plain text
43
+ using a wiki-style markup language that's easy-to-write and easy-to-read.
44
+ Sample:
45
+
46
+ ```
47
+ What's Slide Show (S9)?
48
+ =======================
49
+
50
+ ### What?
51
+
52
+ A Free Web Alternative to PowerPoint and KeyNote in Ruby
53
+
54
+ ### Getting Started in 1-2-3 Easy Steps
55
+
56
+ - Step 1: Author your slides in plain text using a wiki-style markup language
57
+ - Step 2: Generate your slide show using the `slideshow` gem
58
+ - Step 3: Open up your slide show in your browser
59
+ - That's it. Showtime!
60
+ ```
61
+
62
+
63
+ How it works - Just press F11!
64
+ ==============================
65
+
66
+ The Slide Show (S9) Ruby gem turns your slides in plain text into a web page
67
+ that's an all-in-one-page handout and a live slide show all at once.
68
+
69
+
70
+ $ slideshow tutorial
71
+
72
+ => Preparing slide show 'tutorial.html'...
73
+ => Done.
74
+
75
+
76
+ Turn your web page into a slide show and your browser into full screen projection
77
+ with a single push button (F11). Hit the space bar or the right arrow, down arrow
78
+ or page down key to flip through your slides.
79
+
80
+ That's all. It's that simple.
81
+
82
+
83
+ Slide Show (S9) Template Pack Options
84
+ =====================================
85
+
86
+ {% left %}
87
+
88
+ ### What's S5?
89
+
90
+ Simple Standards-based Slide Show System (S5) -Eric Meyer's (of CSS fame) public domain (free, open source) slide show package inspired by Opera Show and others
91
+ that works in all modern browsers (without any plugin required
92
+ because it includes its own slide show machinery in JavaScript).
93
+
94
+ (Use the `s5blank` or `s5themes` template pack to create S5 slide shows.)
95
+
96
+ {% end %}
97
+
98
+ {% right %}
99
+
100
+ ### What's S6?
101
+
102
+ S6 started as a rewrite of Eric Meyer's S5 using the jQuery JavaScript library -- offering easier to understand and easier to extend code. Add plugins, effects and more. Contributions welcome!
103
+
104
+ (Use the `s6blank` or `s6syntax` template pack to create S6 slide shows.)
105
+
106
+ {% end %}
107
+
108
+ ### What's Slidy? What's Slippy? What's Google HTML5 Slides?
109
+
110
+ Check the [Slide Show Template Gallery](http://slideshow.rubyforge.org/templates.html)
111
+ for more template packs and samples.
112
+
113
+
114
+
115
+ Gradient Themes Using "Loss-Free" Vector Graphics in S9
116
+ =======================================================
117
+
118
+ ### CSS3 Background Gradients
119
+
120
+ Using modern browser such as Firefox (3.6+), Chrome and Safari you can
121
+ now theme your slide shows using using "loss-free" vector
122
+ graphics in plain old CSS. Thanks to gradient support in backgrounds in CSS3.
123
+
124
+ For example, the linear gradient from top to bottom with four color is defined
125
+ in CSS3 as:
126
+
127
+ ```
128
+ .gradient_yellow_orange {
129
+
130
+ background: -webkit-gradient(linear, 0% 0%, 0% 100%,
131
+ from(yellow), to(orange),
132
+ color-stop(0.33,orange), color-stop(0.66,yellow));
133
+
134
+ background: -moz-linear-gradient(top, yellow, orange, yellow, orange);
135
+ }
136
+ ```
137
+
138
+ Using Slide Show (S9) you can use the `gradient` helper that
139
+ generates the CSS3 for you:
140
+
141
+ ```
142
+ {{{{ gradient yellow orange yellow orange }}
143
+ ```
144
+
145
+
146
+ Turn Your Online Wiki Pages into Slide Shows - Sputnik Case Study
147
+ =================================================================
148
+
149
+ Inspired by the Slide Show (S9) Ruby gem - Yuri Takhteyev has
150
+ added S9-style slide shows
151
+ to [Sputnik](http://sputnik.freewisdom.org/en/Slideshow_Demo) - a wiki in Lua.
152
+
153
+ Lets you author slide shows online in your browser.
154
+ It's - surprise, surpise - a wiki and, thus, lets you
155
+ work togther with others on a slide show,
156
+ track changes and versions, link and get linked, and much much more.
157
+
158
+
159
+ Thanks - Learn More - Questions? Comments?
160
+ ==========================================
161
+
162
+ Gerald Bauer designed and developed the Slide Show (S9) Ruby gem.
163
+ Find out more @ [`slideshow.rubyforge.org`](http://slideshow.rubyforge.org)
164
+
165
+ Questions? Comments? Send them along
166
+ to the [Free Web Slide Show Alternatives - S5, S6, S9 And Friends - Forum/Mailing List](http://groups.google.com/group/webslideshow).
167
+ Thanks!
@@ -0,0 +1,6 @@
1
+ #######################
2
+ # S9 manifest to generate welcome sample slide show
3
+
4
+ ## todo: add some images ???
5
+
6
+ welcome.text
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slideshow
3
3
  version: !ruby/object:Gem::Version
4
- hash: -399806770
4
+ hash: 604803290
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
10
  - beta
11
- - 1
12
- version: 1.2.0.beta1
11
+ - 2
12
+ version: 1.2.0.beta2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Gerald Bauer
@@ -140,14 +140,12 @@ executables:
140
140
  extensions: []
141
141
 
142
142
  extra_rdoc_files:
143
- - History.rdoc
144
143
  - Manifest.txt
145
- - README.rdoc
146
144
  - templates/s6.txt
147
145
  files:
148
- - History.rdoc
146
+ - History.markdown
149
147
  - Manifest.txt
150
- - README.rdoc
148
+ - README.markdown
151
149
  - Rakefile
152
150
  - bin/slideshow
153
151
  - config/slideshow.builtin.yml
@@ -157,6 +155,8 @@ files:
157
155
  - lib/slideshow/cli/commands/gen.rb
158
156
  - lib/slideshow/cli/commands/gen_templates.rb
159
157
  - lib/slideshow/cli/commands/list.rb
158
+ - lib/slideshow/cli/commands/plugins.rb
159
+ - lib/slideshow/cli/commands/quick.rb
160
160
  - lib/slideshow/cli/opts.rb
161
161
  - lib/slideshow/cli/runner.rb
162
162
  - lib/slideshow/config.rb
@@ -181,6 +181,7 @@ files:
181
181
  - lib/slideshow/markup/markdown.rb
182
182
  - lib/slideshow/markup/rest.rb
183
183
  - lib/slideshow/markup/textile.rb
184
+ - lib/slideshow/plugin_helpers.rb
184
185
  - lib/slideshow/slide.rb
185
186
  - lib/slideshow/version.rb
186
187
  - templates/s6.txt
@@ -194,6 +195,8 @@ files:
194
195
  - templates/slides.html.erb
195
196
  - templates/slides.pdf.html.erb
196
197
  - templates/style.css.erb
198
+ - templates/welcome.text
199
+ - templates/welcome.txt.quick
197
200
  homepage: http://slideshow.rubyforge.org
198
201
  licenses: []
199
202
 
@@ -207,7 +210,7 @@ post_install_message: |
207
210
 
208
211
  rdoc_options:
209
212
  - --main
210
- - README.rdoc
213
+ - README.markdown
211
214
  require_paths:
212
215
  - lib
213
216
  required_ruby_version: !ruby/object:Gem::Requirement
data/README.rdoc DELETED
@@ -1,63 +0,0 @@
1
- = Slide Show (S9) - A Free Web Alternative to PowerPoint and KeyNote in Ruby
2
-
3
- * http://slideshow.rubyforge.org
4
-
5
- == DESCRIPTION:
6
-
7
- The Slide Show (S9) Ruby gem lets you create slide shows and author slides in plain text
8
- using a wiki-style markup language that's easy-to-write and easy-to-read.
9
- The Slide Show (S9) project also collects and welcomes themes and ships
10
- "out-of-the-gem" with built-in support for "loss-free" gradient vector graphics themes.
11
-
12
- == SYNOPSIS:
13
-
14
- Usage: slideshow [options] name
15
- -o, --output PATH Output Path
16
- -g, --generate Generate Slide Show Templates (Using Built-In S6 Pack)
17
- -t, --template MANIFEST Template Manifest
18
- -f, --fetch URI Fetch Templates
19
- -c, --config PATH Configuration Path (default is ~/.slideshow)
20
- -l, --list List Installed Templates
21
- -v, --verbose Show debug trace
22
- -h, --help Show this message
23
-
24
- Examples:
25
-
26
- slideshow microformats
27
- slideshow microformats.textile # Process slides using Textile
28
- slideshow microformats.text # Process slides using Markdown
29
- slideshow microformats.rst # Process slides using reStructuredText (*see Requirements)
30
-
31
- slideshow -o slides microformats # Output slideshow to slides folder
32
-
33
- More examles:
34
-
35
- slideshow -g # Generate slide show templates using built-in S6 pack
36
-
37
- slideshow -l # List installed slide show templates
38
- slideshow -f s5blank # Fetch (install) S5 blank starter template from internet
39
- slideshow -t s5blank.txt microformats # Use your own slide show templates (e.g. s5blank)
40
-
41
-
42
- == REQUIREMENTS:
43
-
44
- * RedCloth (Textile Markup)
45
- * Kramdown (Markdown Markup)
46
-
47
- * BlueCloth (Markdown Markup) [Optional]
48
- * RDiscount (Markdown Markup) [Optional]
49
- * pandoc-ruby (Markdown/reStructuredText Markup) [Optional]
50
-
51
- * Coderay (Syntax Highlighting) [Optional]
52
- * Ultraviolet (Syntax Highlighting) [Optional]
53
-
54
-
55
- == INSTALL:
56
-
57
- Just install the gem:
58
-
59
- $ sudo gem install slideshow
60
-
61
- == LICENSE:
62
-
63
- The slide show scripts and templates are dedicated to the public domain. Use it as you please with no restrictions whatsoever.