struct

Markd::Rule::CodeBlock

Inherits Markd::Rule < Struct < Value < Object

Constants

CLOSING_CODE_FENCE = /^(?:`{3,}|~{3,})(?= *$)/
CODE_FENCE = /^`{3,}(?!.*`)|^~{3,}/

Constructors

Instance methods

accepts_lines?

accepts_line

Source
can_contain?(type)
Source
continue(parser : Parser, container : Node) : ContinueStatus

continue

Source
initialize
Source
match(parser : Parser, container : Node) : MatchValue

match and parse

Source
token(parser : Parser, container : Node) : Nil

token finalize

Source