class Kramdown::Element

(paragraphs, headers, emphasis, …). The type of element can be set via the #type accessor.
kramdown only uses this one class for representing all available elements in a parse tree
Represents all elements in the parse tree.

def initialize(type, value = nil, options = {})

also be set in this constructor for convenience.
Create a new Element object of type +type+. The optional parameters +value+ and +options+ can
def initialize(type, value = nil, options = {})
  @type, @value, @options = type, value, options
  @children = []
end

def inspect #:nodoc:

:nodoc:
def inspect #:nodoc:
  "<kd:#{@type}#{@value.nil? ? '' : ' ' + @value.inspect}#{options.empty? ? '' : ' ' + @options.inspect}#{@children.empty? ? '' : ' ' + @children.inspect}>"
end