Markd::Node
Constants
CONTAINER_TYPES = {Type::Document, Type::Paragraph, Type::Strong, Type::Emphasis, Type::Strikethrough, Type::Link, Type::Image, Type::Heading, Type::List, Type::Item, Type::BlockQuote, Type::Alert, Type::CustomInLine, Type::CustomBlock, Type::Table, Type::TableRow, Type::TableCell}
Constructors
new(type : Markd::Node::Type)
SourceInstance methods
append_child(child : Node)
Sourcedata
Sourcefence_char
Sourcefence_language
Sourcefence_length
Sourcefence_offset
Sourcefenced?
Sourcefirst_child
Sourcefirst_child=(first_child : Node | Nil)
Sourcefirst_child?
Sourceinsert_after(sibling : Node)
Sourcelast_child
Sourcelast_child=(last_child : Node | Nil)
Sourcelast_child?
Sourcelast_line_blank?
Sourcelast_line_checked?
Sourcenext
Sourcenext=(next __arg0 : Node | Nil)
Sourcenext?
Sourceopen?
Sourceparent
Sourceparent=(parent : Node | Nil)
Sourceparent?
Sourceprev
Sourceprev=(prev : Node | Nil)
Sourceprev?
Sourcesource_pos
Sourcetext
Sourceto_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>
type
Sourcetype=(type : Type)
Sourceunlink
Sourcewalker
Source