class Luce::FootnoteDefSyntax
- Luce::FootnoteDefSyntax
- Luce::BlockSyntax
- Reference
- Object
Overview
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
.
Defined in:
luce/block_syntaxes/footnote_def_syntax.crInstance Method Summary
- #parse(parser : BlockParser) : Node
- #parse_child_lines(parser : BlockParser) : Array(Line)
-
#pattern : Regex
Return the regex used to identify the beginning of this block, if any.
Instance methods inherited from class Luce::BlockSyntax
can_end_block?(parser : BlockParser) : Bool
can_end_block?,
can_parse?(parser : BlockParser) : Bool
can_parse?,
interrupted_by(parser : BlockParser) : BlockSyntax | Nil
interrupted_by,
parse(parser : BlockParser) : Node | Nil
parse,
parse_child_lines(parser : BlockParser) : Array(Line | Nil)
parse_child_lines,
pattern : Regex
pattern
Class methods inherited from class Luce::BlockSyntax
at_block_end?(parser : BlockParser) : Bool
at_block_end?,
generate_anchor_hash(element : Element) : String
generate_anchor_hash
Instance Method Detail
Description copied from class Luce::BlockSyntax
Return the regex used to identify the beginning of this block, if any.