mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-30 22:57:56 +00:00
Prefer AVIF to WebP encoding
This commit is contained in:
parent
a3f9cd1aef
commit
144d9fe56f
@ -6,7 +6,7 @@ class ChatBlock < Asciidoctor::Extensions::BlockProcessor
|
||||
named :chat
|
||||
on_context :example
|
||||
name_positional_attributes 'avatar', 'state'
|
||||
default_attributes 'state' => 'default', 'avatarstype' => 'webp'
|
||||
default_attributes 'state' => 'default', 'avatarstype' => 'avif'
|
||||
|
||||
def process(parent, reader, attrs)
|
||||
block = create_block parent, :pass, nil, attrs, content_model: :compound
|
||||
|
Loading…
Reference in New Issue
Block a user