Sha256: e32866ad6e3bb7ce11d6f040b2e9639ca2c1beffebde348681bd2fb14fc6de6c

Contents?: true

Size: 517 Bytes

Versions: 12

Compression:

Stored size: 517 Bytes

Contents

# frozen_string_literal: true
require_relative 'template'
require 'asciidoctor'
# AsciiDoc see: http://asciidoc.org/

# Asciidoctor implementation for AsciiDoc see:
# http://asciidoctor.github.com/
#
# Asciidoctor is an open source, pure-Ruby processor for
# converting AsciiDoc documents or strings into HTML 5,
# DocBook 4.5 and other formats.
Tilt::AsciidoctorTemplate = Tilt::StaticTemplate.subclass do
  @options[:header_footer] = false if @options[:header_footer].nil?
  Asciidoctor.render(@data, @options)
end

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
tilt-2.6.0 lib/tilt/asciidoc.rb
brakeman-7.0.0 bundle/ruby/3.1.0/gems/tilt-2.5.0/lib/tilt/asciidoc.rb
tilt-2.5.0 lib/tilt/asciidoc.rb
brakeman-6.2.2 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/asciidoc.rb
brakeman-6.2.2.rc1 bundle/ruby/3.3.0/gems/tilt-2.4.0/lib/tilt/asciidoc.rb
brakeman-6.2.1 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/asciidoc.rb
brakeman-6.2.0 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/asciidoc.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/tilt-2.4.0/lib/tilt/asciidoc.rb
tilt-2.4.0 lib/tilt/asciidoc.rb
getargv-0.3.3-universal-darwin vendor/bundle/ruby/3.3.0/gems/tilt-2.3.0/lib/tilt/asciidoc.rb
tilt-2.3.0 lib/tilt/asciidoc.rb
tilt-2.2.0 lib/tilt/asciidoc.rb