Class: Asciidoctor::Standoc::AltTermInlineMacro
- Inherits:
-
Extensions::InlineMacroProcessor
- Object
- Extensions::InlineMacroProcessor
- Asciidoctor::Standoc::AltTermInlineMacro
- Defined in:
- lib/asciidoctor/standoc/macros_terms.rb
Instance Method Summary collapse
Instance Method Details
#process(parent, _target, attrs) ⇒ Object
9 10 11 12 |
# File 'lib/asciidoctor/standoc/macros_terms.rb', line 9 def process(parent, _target, attrs) out = Asciidoctor::Inline.new(parent, :quoted, attrs["text"]).convert %{<admitted>#{out}</admitted>} end |