Sha256: f22124ba8e7024808f82d5a425a4b78d09067780a39bf261de2cd91d41cabac2

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

require 'asciidoctor/extensions'

require_relative 'asciidoctor/bibliographer_preprocessor'
require_relative 'bibliographer'

Asciidoctor::Extensions.register do
  preprocessor AsciidoctorBibliography::Asciidoctor::BibliographerPreprocessor
end

module Asciidoctor
  class Document
    # All our document-level permanence passes through this attribute accessor.
    def bibliographer
      @bibliographer ||= AsciidoctorBibliography::Bibliographer.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-bibliography-0.1 lib/asciidoctor-bibliography/asciidoctor.rb
asciidoctor-bibliography-0.0.1.dev lib/asciidoctor-bibliography/asciidoctor.rb