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.13.3 lib/nanoc/filters/asciidoctor.rb
nanoc-4.13.2 lib/nanoc/filters/asciidoctor.rb
nanoc-4.13.1 lib/nanoc/filters/asciidoctor.rb
nanoc-4.13.0 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.21 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.20 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.19 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.18 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.17 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.16 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.15 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.14 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.13 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.12 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.11 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.10 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.9 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.8 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.7 lib/nanoc/filters/asciidoctor.rb
nanoc-4.12.6 lib/nanoc/filters/asciidoctor.rb