Class FootnoteReference

java.lang.Object
org.commonmark.node.Node
org.commonmark.node.CustomNode
org.commonmark.ext.footnotes.FootnoteReference

public class FootnoteReference extends CustomNode
A footnote reference, e.g. [^foo] in Some text with a footnote[^foo]

The label is the text within brackets after ^, so foo in the example. It needs to match the label of a corresponding FootnoteDefinition for the footnote to be parsed.

  • Field Details

    • label

      private String label
  • Constructor Details

    • FootnoteReference

      public FootnoteReference(String label)
  • Method Details

    • getLabel

      public String getLabel()