class

Luce::FootnoteDefSyntax

Inherits Luce::BlockSyntax < Reference < Object

The spec of GFM about footnotes is missing. For online source code of cmark-gfm, see master@c32ef78. A Rust implementation is also available. Footnote definition could contain multiple line-children and children could be separated by one empty line. Its first child-line would be the remaining part of the first line after taking definition leading, combining with other child lines parsed by #parse_child_lines, is fed into BlockParser.

Instance methods

parse(parser : BlockParser) : Node
parse_child_lines(parser : BlockParser) : Array(Line)
pattern

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