Module: Rabbit::Parser::Ext::Inline
- Includes:
- Element
- Included in:
- Wiki::RabbitOutput::InlinePlugin
- Defined in:
- lib/rabbit/parser/ext/inline.rb
Class Method Summary collapse
Class Method Details
.lang(lang, text) ⇒ Object
22 23 24 25 |
# File 'lib/rabbit/parser/ext/inline.rb', line 22 def lang(lang, text) text.add_default_prop("lang", lang) text end |
.note(text) ⇒ Object
18 19 20 |
# File 'lib/rabbit/parser/ext/inline.rb', line 18 def note(text) Note.new(text) end |
.sub(text) ⇒ Object
10 11 12 |
# File 'lib/rabbit/parser/ext/inline.rb', line 10 def sub(text) Subscript.new(text) end |
.sup(text) ⇒ Object
14 15 16 |
# File 'lib/rabbit/parser/ext/inline.rb', line 14 def sup(text) Superscript.new(text) end |