Class: Asciidoctor::Standoc::AltTermInlineMacro

Inherits:
Extensions::InlineMacroProcessor
  • Object
show all
Defined in:
lib/asciidoctor/standoc/macros_terms.rb

Instance Method Summary collapse

Instance Method Details

#process(parent, _target, attrs) ⇒ Object



11
12
13
14
# File 'lib/asciidoctor/standoc/macros_terms.rb', line 11

def process(parent, _target, attrs)
  out = Asciidoctor::Inline.new(parent, :quoted, attrs["text"]).convert
  %{<admitted>#{out}</admitted>}
end