module Rabbit::Parser::Ext::Inline

Public Instance Methods

lang(lang, text) click to toggle source
# File lib/rabbit/parser/ext/inline.rb, line 22
def lang(lang, text)
  text.add_default_prop("lang", lang)
  text
end
note(text) click to toggle source
# File lib/rabbit/parser/ext/inline.rb, line 18
def note(text)
  Note.new(text)
end
sub(text) click to toggle source
# File lib/rabbit/parser/ext/inline.rb, line 10
def sub(text)
  Subscript.new(text)
end
sup(text) click to toggle source
# File lib/rabbit/parser/ext/inline.rb, line 14
def sup(text)
  Superscript.new(text)
end