lib/slideshow/helpers/text_helper.rb in slideshow-2.2.0 vs lib/slideshow/helpers/text_helper.rb in slideshow-2.3.0

- old
+ new

@@ -4,34 +4,9 @@ def s9_include( name, opts = {} ) puts " Including '#{name}'..." content = File.read( name ) end -def help() - puts " Adding HTML for Slide Show help instructions..." - - text = <<EOS -*Slide Show Keyboard Controls (Help)* - -| Action | Key | -| Go to next slide | Space Bar, Right Arrow, Down Arrow, Page Down, Click Heading | -| Go to previous slide | Left Arrow, Up Arrow, Page Up | -| Toggle between slideshow and outline view (&#216;) | T | -| Show/hide slide controls (&#216; &laquo; &raquo;) | C, Move mouse to bottom right corner | -| Zoom in, zoom out, zoom reset (100%) | Control[@+@]Plus, Control[@+@]Minus, Control[@+@]@0@ | -EOS - - html = <<EOS -<!-- begin help --> -<div class='help projection'> -#{textile_to_html( text )} -</div> -<!-- end help --> -EOS - - guard_block( html ) -end - # Usage example: # <%= code 'code/file.rb#section', :lang => 'ruby', :class => 'small' %> # or # <% code :lang => 'ruby' do %> \ No newline at end of file