class
Amber::Markdown::Parser::Block
Included Modules
Defined in:
amber/markdown/parsers/block.cr
Constant Summary
-
RULES =
{Node::Type::Document => Rule::Document.new, Node::Type::BlockQuote => Rule::BlockQuote.new, Node::Type::Heading => Rule::Heading.new, Node::Type::CodeBlock => Rule::CodeBlock.new, Node::Type::HTMLBlock => Rule::HTMLBlock.new, Node::Type::ThematicBreak => Rule::ThematicBreak.new, Node::Type::List => Rule::List.new, Node::Type::Item => Rule::Item.new, Node::Type::Table => Rule::Table.new, Node::Type::Paragraph => Rule::Paragraph.new}
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
Class Method Detail
def self.
parse(source :
String, options =
Options.new)
#
Instance Method Detail
def
advance_next_nonspace
#
def
advance_offset(count, columns =
false)
#
def
close_unmatched_blocks
#
def
column=(column : Int32)
#
def
current_line : Int32
#
def
next_nonspace : Int32
#
def
offset=(offset : Int32)
#
def
tip=(tip :
Node | Nil)
#
def
tip? :
Node | Nil | Nil
#
def
token(container :
Node, line_number : Int32)
#