lib/asciidoctor/reducer.rb in asciidoctor-reducer-1.0.0.alpha.6 vs lib/asciidoctor/reducer.rb in asciidoctor-reducer-1.0.0.alpha.7
- old
+ new
@@ -1,10 +1,5 @@
# frozen_string_literal: true
-require 'asciidoctor'
require_relative 'reducer/extensions'
-Asciidoctor::Extensions.register :reducer do
- next if document.options[:reduced]
- preprocessor Asciidoctor::Reducer::Preprocessor
- tree_processor Asciidoctor::Reducer::TreeProcessor
-end
+Asciidoctor::Reducer::Extensions.register