class

Luce::FencedCodeBlockSyntax

Inherits Luce::BlockSyntax < Reference < Object

Parses preformatted code blocks between two ~~~ or ``` sequences.

See the CommonMark spec: https://spec.commonmark.org/0.30/#fenced-code-blocks

Instance methods

parse(parser : BlockParser) : Node
parse_child_lines(parser : BlockParser, opening_marker : String = "", indent : Int32 = 0) : Array(Line)
pattern

Return the regex used to identify the beginning of this block, if any.