class

Markd::Parser::Block

Inherits Markd::Parser < Reference < Object

Constants

RULES = {Node::Type::Document => Rule::Document.new, Node::Type::BlockQuote => Rule::BlockQuote.new, Node::Type::Alert => 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::Paragraph => Rule::Paragraph.new, Node::Type::Table => Rule::Table.new}

Constructors

new(options : Options)
Source

Class methods

parse(source : String, options = Options.new)
Source

Instance methods

add_child(type : Node::Type, offset : Int32) : Node
Source
advance_next_nonspace
Source
advance_offset(count : Int32, columns = false)
Source
blank
Source
close_unmatched_blocks
Source
column
Source
column=(column : Int32)
Source
current_line
Source
gfm?(*args, **options)
Source
gfm?(*args, **options, &)
Source
indent
Source
indented
Source
inline_lexer
Source
line
Source
next_nonspace
Source
offset
Source
offset=(offset : Int32)
Source
parse(source : String)
Source
refmap
Source
tagfilter?(*args, **options)
Source
tagfilter?(*args, **options, &)
Source
tip=(tip : Node | Nil)
Source
tip?
Source
token(container : Node, line_number : Int32)
Source