summaryrefslogtreecommitdiff
path: root/lib/asciidoctor/interdoc_reftext.rb
blob: 165bd13682ea6fadb9c6c78e84e90f3dd5b345aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true
require 'asciidoctor/interdoc_reftext/version'
require 'asciidoctor/interdoc_reftext/processor'

unless RUBY_PLATFORM == 'opal'
  require 'asciidoctor'
  require 'asciidoctor/extensions'

  Asciidoctor::Extensions.register do
    treeprocessor Asciidoctor::InterdocReftext::Processor
  end
end