struct Markd::Rule::CodeBlock
- Markd::Rule::CodeBlock
- Struct
- Value
- Object
Included Modules
Defined in:
markd/rules/code_block.crConstant Summary
-
CLOSING_CODE_FENCE =
/^(?:`{3,}|~{3,})(?= *$)/
-
CODE_FENCE =
/^`{3,}(?!.*`)|^~{3,}(?!.*~)/
Constructors
Instance Method Summary
-
#accepts_lines? : Bool
accepts_line
- #can_contain?(type)
-
#continue(parser : Parser, container : Node) : ContinueStatus
continue
- #initialize
-
#match(parser : Parser, container : Node) : MatchValue
match and parse
-
#token(parser : Parser, container : Node) : Nil
token finalize
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
Instance Method Detail
Description copied from module Markd::Rule
continue
Description copied from module Markd::Rule
match and parse
Description copied from module Markd::Rule
token finalize