Method: Rabbit::Parser::RD::Ext::InlineVerbatim#ext_inline_verb_note
- Defined in:
- lib/rabbit/parser/rd/ext/inline-verbatim.rb
#ext_inline_verb_note(label, source, content, visitor) ⇒ Object
61 62 63 64 65 66 |
# File 'lib/rabbit/parser/rd/ext/inline-verbatim.rb', line 61 def ext_inline_verb_note(label, source, content, visitor) label = label.to_s return nil unless /^note:(.*)$/ =~ label target = apply_inline_markup(visitor, $1) Inline.note(target) end |