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



645
646
647
# File 'lib/asciidoctor/extensions.rb', line 645

def format value
  option :format, value
end

#match(value) ⇒ Object



652
653
654
# File 'lib/asciidoctor/extensions.rb', line 652

def match value
  option :regexp, value
end