Sha256: 352c04e0576f5f17a06823d031418657eeb6181cba26e617c6c9e7b327abd242
Contents?: true
Size: 1.02 KB
Versions: 9
Compression:
Stored size: 1.02 KB
Contents
# encoding: utf-8 module Middleman module Presentation # Helpers plugin module Helpers # Slides plugin module SlidesPlugin extend PluginApi output_paths = { %r{plugin/notes/notes\.html$} => Pathname.new('javascripts/reveal.js/plugin/notes/notes.html') } loadable_files = [ %r{plugin/notes/notes\.html$}, %r{reveal\.js/.*/.*\.js$} ] add_component( name: :'reveal.js', version: 'latest', # importable_files: %w(js/reveal.min.js lib/js/head.min css/reveal.min.css lib/css/zenburn css/theme/template/mixins.scss css/theme/template/settings.scss), importable_files: %w(js/reveal.js lib/js/head.min css/reveal.css css/theme/template/mixins.scss css/theme/template/settings.scss), ignorable_files: %w(reveal\.js/test/), output_paths: output_paths, loadable_files: loadable_files ) add_helpers Middleman::Presentation::Helpers::Slides end end end end
Version data entries
9 entries across 9 versions & 1 rubygems