summaryrefslogtreecommitdiff
path: root/lib/asciidoctor/interdoc_reftext.rb
blob: dc884cb764fac8a851ee4797ebe525e3cbfaad6f (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true
require 'asciidoctor' unless RUBY_PLATFORM == 'opal'
require 'asciidoctor/extensions' unless RUBY_PLATFORM == 'opal'
require 'asciidoctor/interdoc_reftext/version'
require 'asciidoctor/interdoc_reftext/processor'

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