Class: ReverseAsciidoctor::Converters::Math

Inherits:
Base
  • Object
show all
Defined in:
lib/reverse_asciidoctor/converters/math.rb

Instance Method Summary collapse

Methods inherited from Base

#escape_keychars, #extract_title, #treat, #treat_children

Instance Method Details

#convert(node, state = {}) ⇒ Object



7
8
9
# File 'lib/reverse_asciidoctor/converters/math.rb', line 7

def convert(node, state = {})
  "stem:[" << node.to_s.gsub(/\n/, " ") << "]"
end