Sha256: 670a4fe2d7f3288d9c6c56f4d171da46d9c92ec6fc7b5a9f62bfe925af0a135a

Contents?: true

Size: 443 Bytes

Versions: 9

Compression:

Stored size: 443 Bytes

Contents

# encoding: utf-8
module Middleman
  module Presentation
    # Helpers plugin
    module Helpers
      # Highlight plugin
      module HighlightPlugin
        extend PluginApi

        loadable_files = [
          /.*\.js$/
        ]

        add_component(
          name: :'highlightjs',
          version: 'latest',
          importable_files: %w(zenburn.css),
          loadable_files: loadable_files
        )
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
middleman-presentation-helpers-0.17.2 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.17.1 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.17.0 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.16.3 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.16.2 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.16.0 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.16.0.rc2 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.1.0.rc1 lib/middleman-presentation-helpers/plugins/highlight_plugin.rb
middleman-presentation-helpers-0.1.0.beta lib/middleman-presentation-helpers/plugins/highlight_plugin.rb