class Kramdown::Parser::Base
def initialize(source, options)
The @root element, the @warnings array and @text_type (specifies the default type for newly
Initialize the parser object with the +source+ string and the parsing +options+.
def initialize(source, options) @source = source @options = Kramdown::Options.merge(options) @root = Element.new(:root, nil, nil, :encoding => (source.encoding rescue nil), :location => 1, :options => {}, :abbrev_defs => {}, :abbrev_attr => {}) @warnings = [] @text_type = :text end