Class: Metanorma::Standoc::FootnoteBlockInlineMacro

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

Instance Method Summary collapse

Instance Method Details

#process(parent, _target, attrs) ⇒ Object



35
36
37
38
# File 'lib/metanorma/standoc/macros_note.rb', line 35

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