Class: Asciidoctor::Standoc::FootnoteBlockInlineMacro

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

Instance Method Summary collapse

Instance Method Details

#process(parent, _target, attrs) ⇒ Object



39
40
41
42
# File 'lib/asciidoctor/standoc/macros_note.rb', line 39

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