diff --git a/lib/asciidoctor-foodogsquared-extensions.rb b/lib/asciidoctor-foodogsquared-extensions.rb index f0ce2cd..c170f1d 100644 --- a/lib/asciidoctor-foodogsquared-extensions.rb +++ b/lib/asciidoctor-foodogsquared-extensions.rb @@ -1,3 +1,4 @@ # frozen_string_literal: true require 'asciidoctor/foodogsquared/extensions' +require 'asciidoctor/foodogsquared/converter' diff --git a/lib/asciidoctor/foodogsquared/chat-block/extension.rb b/lib/asciidoctor/foodogsquared/chat-block/extension.rb index 5214bdf..08244e7 100644 --- a/lib/asciidoctor/foodogsquared/chat-block/extension.rb +++ b/lib/asciidoctor/foodogsquared/chat-block/extension.rb @@ -10,54 +10,17 @@ module Asciidoctor::Foodogsquared::Extensions default_attributes 'state' => 'default' def process(parent, reader, attrs) - # You can think of this section as a pipeline constructing the HTML - # component for this block. Specifically, we're building one component that - # contains two output: the dialog image of our avatar and its content. attrs['name'] ||= attrs['avatar'] - block = create_block parent, :pass, nil, attrs, content_model: :compound - block.add_role('dialogblock') - - block << (create_html_fragment block, <<~HTML -
Hello there!
Hello there!
Hello there!
+wow