Method: Kramdown::Parser::Base#parse

Defined in:
lib/kramdown/parser/base.rb

#parseObject

Parse the source string into an element tree.

The parsing code should parse the source provided in @source and build an element tree the root of which should be @root.

This is the only method that has to be implemented by sub-classes!

Raises:

  • (NotImplementedError)


79
80
81
# File 'lib/kramdown/parser/base.rb', line 79

def parse
  raise NotImplementedError
end