struct Markd::Rule::List

Included Modules

Defined in:

markd/rules/list.cr

Constant Summary

BULLET_LIST_MARKERS = {'*', '+', '-'}
ORDERED_LIST_MARKERS = {'.', ')'}

Constructors

Instance Method Summary

Instance methods inherited from module Markd::Rule

accepts_lines? : Bool accepts_lines?, continue(parser : Parser, container : Node) : ContinueStatus continue, match(parser : Parser, container : Node) : MatchValue match, token(parser : Parser, container : Node) : Nil token

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def accepts_lines? : Bool #
Description copied from module Markd::Rule

accepts_line


[View source]
def can_contain?(type) #

[View source]
def continue(parser : Parser, container : Node) : ContinueStatus #
Description copied from module Markd::Rule

continue


[View source]
def initialize #

[View source]
def match(parser : Parser, container : Node) : MatchValue #
Description copied from module Markd::Rule

match and parse


[View source]
def token(parser : Parser, container : Node) : Nil #
Description copied from module Markd::Rule

token finalize


[View source]