Module MaRuKu::In::Markdown::BlockLevelParser
In: lib/maruku.rb
lib/maruku/input/parse_doc.rb
lib/maruku/input/linesource.rb
lib/maruku/input/parse_block.rb

Methods

Included Modules

Helpers MaRuKu::Strings MaRuKu::In::Markdown::SpanLevelParser

Classes and Modules

Class MaRuKu::In::Markdown::BlockLevelParser::BlockContext
Class MaRuKu::In::Markdown::BlockLevelParser::LineSource

Public Instance methods

count the actual number of elements in a row taking into account colspans

Is the given element an HTML element whose root is not an inline element?

If current line is text, a definition list is coming if 1) text,empty,[text,empty]*,definition

Expands an attribute list in an Hash

Search an attribute list looking for a colspan

Splits the string and calls parse_lines_as_markdown

If there are non-inline HTML tags in the paragraph, break them out into their own elements and make paragraphs out of everything else.

reads a header (with —— or ========)

reads a header like ’#### header ####’

This is the only ugly function in the code base. It is used to read list items, descriptions, footnote text

Reads one list item, either ordered or unordered.

(PHP Markdown extra) Search for elements that have markdown=1 or markdown=block defined

[Validate]