Module: Asciidoctor::Extensions::InlineMacroProcessorDsl

Includes:
MacroProcessorDsl
Defined in:
lib/asciidoctor/extensions.rb

Instance Method Summary collapse

Methods included from MacroProcessorDsl

#resolve_attributes

Methods included from SyntaxProcessorDsl

#content_model, #default_attributes, #named, #positional_attributes, #resolve_attributes

Instance Method Details

#format(value) ⇒ Object Also known as: match_format, using_format



632
633
634
# File 'lib/asciidoctor/extensions.rb', line 632

def format value
  option :format, value
end

#match(value) ⇒ Object



639
640
641
# File 'lib/asciidoctor/extensions.rb', line 639

def match value
  option :regexp, value
end