Sha256: 374af01c8b9dd16b68c9e7b45e35d52c5caa61787551baab8008b25ef296ecd5

Contents?: true

Size: 242 Bytes

Versions: 85

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

module Nanoc::Filters
  class Asciidoctor < Nanoc::Filter
    identifier :asciidoctor

    requires 'asciidoctor'

    def run(content, params = {})
      ::Asciidoctor.render(content, params)
    end
  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
nanoc-4.11.9 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.8 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.7 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.6 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.5 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.4 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.3 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.2 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.1 lib/nanoc/filters/asciidoctor.rb
nanoc-4.11.0 lib/nanoc/filters/asciidoctor.rb
nanoc-4.10.4 lib/nanoc/filters/asciidoctor.rb
nanoc-4.10.3 lib/nanoc/filters/asciidoctor.rb
nanoc-4.10.2 lib/nanoc/filters/asciidoctor.rb
nanoc-4.10.1 lib/nanoc/filters/asciidoctor.rb
nanoc-4.10.0 lib/nanoc/filters/asciidoctor.rb
nanoc-4.9.9 lib/nanoc/filters/asciidoctor.rb
nanoc-4.9.8 lib/nanoc/filters/asciidoctor.rb
nanoc-4.9.7 lib/nanoc/filters/asciidoctor.rb
nanoc-4.9.6 lib/nanoc/filters/asciidoctor.rb
nanoc-4.9.5 lib/nanoc/filters/asciidoctor.rb