Class: Metanorma::Standoc::ToDoAdmonitionBlock
- Inherits:
-
Asciidoctor::Extensions::BlockProcessor
- Object
- Asciidoctor::Extensions::BlockProcessor
- Metanorma::Standoc::ToDoAdmonitionBlock
- Defined in:
- lib/metanorma/standoc/macros_note.rb
Instance Method Summary collapse
Instance Method Details
#process(parent, reader, attrs) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/metanorma/standoc/macros_note.rb', line 8 def process(parent, reader, attrs) attrs["name"] = "todo" attrs["caption"] = "TODO" create_block(parent, :admonition, reader.lines, attrs, content_model: :compound) end |