mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 12:19:36 +00:00
15 lines
327 B
Ruby
15 lines
327 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ChatBlock < Asciidoctor::Extensions::BlockProcessor
|
|
use_dsl
|
|
|
|
named :chat
|
|
on_context :example
|
|
name_positional_attributes 'avatar', 'state'
|
|
default_attributes 'state' => 'default', 'avatarstype' => 'webp'
|
|
|
|
# TODO: Create the output.
|
|
def process(parent, reader, attrs)
|
|
end
|
|
end
|